-
Notifications
You must be signed in to change notification settings - Fork 526
Expand file tree
/
Copy pathmakefile
More file actions
37 lines (25 loc) · 744 Bytes
/
Copy pathmakefile
File metadata and controls
37 lines (25 loc) · 744 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
30
31
32
33
34
35
36
37
# put deliverable products at the end
MAKE_DEPENDENCIES=communication hal platform services wiring bootloader main
PROJECT_ROOT = .
COMMON_BUILD=build
BUILD_PATH_BASE=$(COMMON_BUILD)/target
ifdef SPARK_PRODUCT_ID
PRODUCT_ID=$(SPARK_PRODUCT_ID)
endif
include $(COMMON_BUILD)/platform-id.mk
ifdef PRODUCT_ID
msg_ext =, product ID: $(PRODUCT_ID)
endif
msg = Building firmware for $(PRODUCT_DESC), platform ID: $(PLATFORM_ID)$(msg_ext)
$(info $(msg))
all: make_deps
include $(COMMON_BUILD)/common-tools.mk
include $(COMMON_BUILD)/recurse.mk
include $(COMMON_BUILD)/verbose.mk
clean: clean_deps
$(VERBOSE)$(RMDIR) $(BUILD_PATH_BASE)
ifneq (,$(filter clean,$(MAKECMDGOALS)))
$(MAKE_DEPENDENCIES): | clean
endif
.NOTPARALLEL:
.PHONY: all