-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 687 Bytes
/
Makefile
File metadata and controls
29 lines (24 loc) · 687 Bytes
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
MAKE_COMMON := make_common.mk
MAKE_HAL := make_hal.mk
MAKE_CLI := make_cli.mk
MAKE_BOOT := make_boot.mk
MAKE_FIRMWARE := make_firmware.mk
.DEFAULT help:
@echo "run: make boot|firmware|emulator [DEBUG=1]"
@echo "example: make boot DEBUG=1 - make debuggable bl"
@echo "example: make firmware - make final firmware"
clean:
-rm -fR $(DIR_OBJ) $(BUILD_ID)
all:
@$(MAKE) --no-print-directory clean
@$(MAKE) --no-print-directory boot firmware
#######################################
# bootloader
include $(MAKE_BOOT)
#######################################
# firmware
include $(MAKE_FIRMWARE)
#######################################
# emulator ?
emulator:
@echo "emu not ready yet"