summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-03-03 20:59:07 +0700
committerGitHub <[email protected]>2021-03-03 20:59:07 +0700
commit2d9896bf401f2c7641dcbc6625faa4599cc7f6e0 (patch)
treeabfa526dafdb8ec6766ef81ab5e95796a3f9a4ec /examples
parent515122669eccfcd6f56e9ca267cc591eddb3f14a (diff)
parent16f501a14eb98ef393d73d2a2dc3eb3653e98437 (diff)
Merge pull request #695 from hathach/more-family-board
More family board
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 173f5598a..b29d0e4a2 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -66,13 +66,14 @@ CXX = $(CROSS_COMPILE)g++
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
MKDIR = mkdir
+
ifeq ($(CMDEXE),1)
-CP = copy
-RM = del
+ CP = copy
+ RM = del
else
-SED = sed
-CP = cp
-RM = rm
+ SED = sed
+ CP = cp
+ RM = rm
endif
#-------------- Source files and compiler flags --------------
@@ -81,6 +82,8 @@ endif
SRC_C += hw/bsp/board.c
SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(BOARD_PATH)/*.c))
+INC += $(TOP)/$(FAMILY_PATH)
+
# Compiler Flags
CFLAGS += \
-ggdb \