-
Notifications
You must be signed in to change notification settings - Fork 38
/
config.mk
216 lines (197 loc) · 7.13 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# Common source.
CFLAGS_all += -IHardware
CFLAGS_all += -IFreeRTOS/include
CFLAGS_all += -IPlatform/CMSIS/Include
CFLAGS_all += -Ilib/neographics/src/
CFLAGS_all += -Ilib/neographics/src/draw_command
CFLAGS_all += -Ilib/neographics/src/path
CFLAGS_all += -Ilib/neographics/src/primitives
CFLAGS_all += -Ilib/neographics/src/types
CFLAGS_all += -Ilib/neographics/src/fonts
CFLAGS_all += -Ilib/neographics/src/text
CFLAGS_all += -Ilib/minilib/inc
CFLAGS_all += -Ilib/png
CFLAGS_all += -Ilib/pbl_strftime/src
CFLAGS_all += -IWatchfaces
CFLAGS_all += -IApps
CFLAGS_all += -IApps/System
CFLAGS_all += -IConfig
CFLAGS_all += -Ircore
CFLAGS_all += -Ircore/protocol
CFLAGS_all += -Ircore/service
CFLAGS_all += -Irwatch
CFLAGS_all += -Irwatch/ui
CFLAGS_all += -Irwatch/ui/notifications
CFLAGS_all += -Irwatch/ui/layer
CFLAGS_all += -Irwatch/ui/animation
CFLAGS_all += -Irwatch/input
CFLAGS_all += -Irwatch/graphics
CFLAGS_all += -Irwatch/event
CFLAGS_all += -Irwatch/storage
CFLAGS_all += -Ihw/platform/qemu
CFLAGS_all += -DNGFX_IS_CORE -DREBBLEOS
# XXX: nostdinc
CFLAGS_all += -O0 -ggdb -Wall -ffunction-sections -fdata-sections -mthumb -mlittle-endian -finline-functions -std=gnu99 -falign-functions=16
# CFLAGS_all += -Wno-implicit-function-declaration
CFLAGS_all += -Wno-unused-variable -Wno-unused-function
LDFLAGS_all += -nostartfiles -nostdlib
LIBS_all += -lgcc
SRCS_all += build/version.c
SRCS_all += FreeRTOS/croutine.c
SRCS_all += FreeRTOS/event_groups.c
SRCS_all += FreeRTOS/list.c
SRCS_all += FreeRTOS/queue.c
SRCS_all += FreeRTOS/tasks.c
SRCS_all += FreeRTOS/timers.c
SRCS_all += lib/minilib/minilib.c
SRCS_all += lib/minilib/dprint.c
SRCS_all += lib/minilib/fmt.c
SRCS_all += lib/minilib/unfmt.c
SRCS_all += lib/minilib/rand.c
SRCS_all += lib/minilib/qalloc.c
SRCS_all += lib/musl/time/localtime.c
SRCS_all += lib/musl/time/localtime_r.c
SRCS_all += lib/musl/time/mktime.c
SRCS_all += lib/musl/time/__secs_to_tm.c
SRCS_all += lib/musl/time/__tm_to_secs.c
SRCS_all += lib/musl/time/__year_to_secs.c
SRCS_all += lib/musl/time/__month_to_secs.c
SRCS_all += lib/neographics/src/common.c
SRCS_all += lib/neographics/src/context.c
SRCS_all += lib/neographics/src/draw_command/draw_command.c
SRCS_all += rwatch/graphics/font_file.c
#SRCS_all += lib/neographics/src/fonts/fonts.c
SRCS_all += lib/neographics/src/gbitmap/gbitmap.c
SRCS_all += lib/neographics/src/gbitmap/blit_bw.c
SRCS_all += lib/neographics/src/gbitmap/blit_color.c
SRCS_all += lib/neographics/src/path/path.c
SRCS_all += lib/neographics/src/primitives/circle.c
SRCS_all += lib/neographics/src/primitives/line.c
SRCS_all += lib/neographics/src/primitives/rect.c
SRCS_all += lib/neographics/src/text/text.c
SRCS_all += lib/neographics/src/types/rect.c
SRCS_all += lib/png/png.c
SRCS_all += lib/png/upng.c
SRCS_all += lib/pbl_strftime/src/strftime.c
SRCS_all += rcore/ambient.c
SRCS_all += rcore/appmanager.c
SRCS_all += rcore/appmanager_app.c
SRCS_all += rcore/appmanager_app_api.c
SRCS_all += rcore/appmanager_app_runloop.c
SRCS_all += rcore/appmanager_app_timer.c
SRCS_all += rcore/backlight.c
SRCS_all += rcore/bluetooth.c
SRCS_all += rcore/ppogatt.c
SRCS_all += rcore/buttons.c
SRCS_all += rcore/display.c
SRCS_all += rcore/debug.c
SRCS_all += rcore/gyro.c
SRCS_all += rcore/main.c
SRCS_all += rcore/notification_manager.c
SRCS_all += rcore/notification_message.c
SRCS_all += rcore/power.c
SRCS_all += rcore/rebbleos.c
SRCS_all += rcore/smartstrap.c
SRCS_all += rcore/rebble_time.c
SRCS_all += rcore/tz.c
SRCS_all += rcore/rebble_memory.c
SRCS_all += rcore/vibrate.c
SRCS_all += rcore/flash.c
SRCS_all += rcore/fs.c
SRCS_all += rcore/fs_crc.c
SRCS_all += rcore/fs_test.c
SRCS_all += rcore/log.c
SRCS_all += rcore/resource.c
SRCS_all += rcore/watchdog.c
SRCS_all += rcore/overlay_manager.c
SRCS_all += rcore/rebble_util.c
SRCS_all += rcore/qemu.c
SRCS_all += rcore/qemu_endpoints.c
SRCS_all += rcore/service.c
SRCS_all += rcore/protocol/protocol_notification.c
SRCS_all += rcore/protocol/protocol_system.c
SRCS_all += rcore/protocol/protocol.c
SRCS_all += rcore/protocol/protocol_app.c
SRCS_all += rcore/protocol/protocol_blob.c
SRCS_all += rcore/protocol/protocol_call.c
SRCS_all += rcore/protocol/protocol_music.c
SRCS_all += rcore/protocol/protocol_transfer.c
SRCS_all += rcore/rdb.c
SRCS_all += rcore/rdb_test.c
SRCS_all += rcore/prefs.c
SRCS_all += rcore/service/protocol_service.c
SRCS_all += rcore/service/timeline.c
SRCS_all += rwatch/librebble.c
SRCS_all += rwatch/ngfxwrap.c
SRCS_all += rwatch/math_sin.c
SRCS_all += rwatch/ui/layer/layer.c
SRCS_all += rwatch/ui/layer/bitmap_layer.c
SRCS_all += rwatch/ui/layer/menu_layer.c
SRCS_all += rwatch/ui/layer/simple_menu_layer.c
SRCS_all += rwatch/ui/layer/scroll_layer.c
SRCS_all += rwatch/ui/layer/action_bar_layer.c
SRCS_all += rwatch/ui/layer/text_layer.c
SRCS_all += rwatch/ui/layer/single_notification_layer.c
SRCS_all += rwatch/ui/layer/inverter_layer.c
SRCS_all += rwatch/ui/window.c
SRCS_all += rwatch/ui/notification_window.c
SRCS_all += rwatch/ui/action_menu.c
SRCS_all += rwatch/graphics/gbitmap.c
SRCS_all += rwatch/graphics/graphics.c
SRCS_all += rwatch/graphics/font_loader.c
SRCS_all += rwatch/event/tick_timer_service.c
SRCS_all += rwatch/event/app_timer.c
SRCS_all += rwatch/event/battery_state_service.c
SRCS_all += rwatch/event/connection_service.c
SRCS_all += rwatch/event/event_service.c
SRCS_all += rwatch/ui/layer/status_bar_layer.c
SRCS_all += rwatch/ui/animation/animation.c
SRCS_all += rwatch/ui/animation/property_animation.c
SRCS_all += rwatch/ui/notifications/battery_overlay.c
SRCS_all += rwatch/ui/notifications/mini_message.c
SRCS_all += rwatch/ui/notifications/call_window.c
SRCS_all += rwatch/ui/notifications/progress_window.c
SRCS_all += rwatch/ui/vibes.c
SRCS_all += rwatch/storage/storage_persist.c
SRCS_all += rwatch/storage/dictionary.c
SRCS_all += Watchfaces/simple.c
SRCS_all += Watchfaces/simplicity.c
SRCS_all += Watchfaces/nivz.c
SRCS_all += Apps/System/systemapp.c
SRCS_all += Apps/System/menu.c
SRCS_all += Apps/System/testapp.c
SRCS_all += Apps/System/settings.c
SRCS_all += Apps/System/settings_tz.c
SRCS_all += Apps/System/watchface.c
SRCS_all += Apps/System/widgettest.c
SRCS_all += Apps/System/notification.c
SRCS_all += Apps/System/musicapp.c
SRCS_all += hw/platform/qemu/hw_qemu.c
CFLAGS_testing += -DREBBLEOS_TESTING
SRCS_testing += rcore/test.c
include hw/chip/stm32f4xx/config.mk
include hw/chip/stm32f2xx/config.mk
include hw/drivers/stm32_dma/config.mk
include hw/drivers/stm32_spi/config.mk
include hw/drivers/stm32_i2c/config.mk
include hw/drivers/stm32_usart/config.mk
include hw/drivers/stm32_buttons/config.mk
include hw/drivers/stm32_power/config.mk
include hw/drivers/stm32_rtc/config.mk
include hw/drivers/stm32_backlight/config.mk
include hw/drivers/stm32_bluetooth_cc256x/config.mk
include hw/platform/snowy_family/config.mk
include hw/platform/snowy/config.mk
include hw/platform/tintin/config.mk
include hw/platform/chalk/config.mk
include Apps/System/tests/config.mk
include lib/btstack/config.mk
ifeq ($(NRF52_SDK_PATH),)
else
include hw/chip/nrf52840/config.mk
include hw/drivers/nrf52_buttons/config.mk
include hw/drivers/nrf52_ls013b7dh05/config.mk
include hw/drivers/nrf52_qspi_flash/config.mk
include hw/drivers/nrf52_bluetooth/config.mk
include hw/platform/asterix/config.mk
endif