aboutsummaryrefslogtreecommitdiffstats
path: root/board/board.mk
diff options
context:
space:
mode:
Diffstat (limited to 'board/board.mk')
-rw-r--r--board/board.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/board/board.mk b/board/board.mk
index b410cdb..f6df51a 100644
--- a/board/board.mk
+++ b/board/board.mk
@@ -1,8 +1,16 @@
# List of all the board related files.
-BOARDSRC = ./board/board.c
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDSRC = ./board/board_h7.c
+else
+ BOARDSRC = ./board/board_l4.c
+endif
# Required include directories
-BOARDINC = ./board
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDINC = ./board/h7
+else
+ BOARDINC = ./board/l4
+endif
# Shared variables
ALLCSRC += $(BOARDSRC)