forked from particle-iot/device-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
32 lines (21 loc) · 652 Bytes
/
makefile
File metadata and controls
32 lines (21 loc) · 652 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
# 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)
.PHONY: all