summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-24 19:08:37 +0700
committerhathach <[email protected]>2023-06-24 19:08:37 +0700
commit7d0ce5605ace2acba928f444f3dd7eb6de0b29ec (patch)
tree0bef5517f549f292d8e0e4a2b948e8290f594cde /examples
parent086c1d4090bc3bfdcde56aed5036e3efc6d5ea9f (diff)
allow to skip CPU_CORE
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 4fcde83c8..3c3a920cc 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -137,5 +137,10 @@ else ifeq ($(LOGGER),swo)
CFLAGS += -DLOGGER_SWO
endif
+# CPU specific flags
+ifdef CPU_CORE
+include $(TOP)/tools/make/cpu/$(CPU_CORE).mk
+endif
+
# toolchain specific
include $(TOP)/tools/make/toolchain/arm_$(TOOLCHAIN).mk