summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 13:59:45 +0700
committerhathach <[email protected]>2019-05-14 13:59:45 +0700
commit8094bdce23a72264e54641ec4c34189935829251 (patch)
tree27f3cb6cbb233743280e231339dc9460e16f439c /examples/make.mk
parent62f0eb16d6549db084c5e8661fa2b76e7bc1a9a4 (diff)
makefile clean up
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/make.mk b/examples/make.mk
index d76f611fb..d972c1fea 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -31,6 +31,9 @@ BUILD = build-$(BOARD)
# Board specific
include $(TOP)/hw/bsp/$(BOARD)/board.mk
+# Include all source C in board folder
+SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/hw/bsp/$(BOARD)/*.c))
+
# Compiler Flags
CFLAGS += \
-fsingle-precision-constant \