aboutsummaryrefslogtreecommitdiffstats
path: root/source/board/board.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source/board/board.mk')
-rw-r--r--source/board/board.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/board/board.mk b/source/board/board.mk
new file mode 100644
index 0000000..155285a
--- /dev/null
+++ b/source/board/board.mk
@@ -0,0 +1,17 @@
+# List of all the board related files.
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDSRC = ./source/board/board_h7.c
+else
+ BOARDSRC = ./source/board/board_l4.c
+endif
+
+# Required include directories
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDINC = ./source/board/h7
+else
+ BOARDINC = ./source/board/l4
+endif
+
+# Shared variables
+ALLCSRC += $(BOARDSRC)
+ALLINC += $(BOARDINC)