aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-21 12:54:54 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-21 12:54:54 +0000
commit10465f72389fe8ed965b4e07fbb5b8ffe26af9a4 (patch)
tree8cde360454ae4325b0f7b61d12e747d90adab0b4 /os/hal/templates
parentc010f378caa66e18145d94e35a7123e9209f46d1 (diff)
downloadChibiOS-10465f72389fe8ed965b4e07fbb5b8ffe26af9a4.tar.gz
ChibiOS-10465f72389fe8ed965b4e07fbb5b8ffe26af9a4.tar.bz2
ChibiOS-10465f72389fe8ed965b4e07fbb5b8ffe26af9a4.zip
Improved make system.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11049 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r--os/hal/templates/osal/osal.mk4
-rw-r--r--os/hal/templates/platform.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/templates/osal/osal.mk b/os/hal/templates/osal/osal.mk
index ca4101169..623811fb1 100644
--- a/os/hal/templates/osal/osal.mk
+++ b/os/hal/templates/osal/osal.mk
@@ -3,3 +3,7 @@ OSALSRC += ${CHIBIOS}/os/hal/templates/osal/osal.c
# Required include directories
OSALINC += ${CHIBIOS}/os/hal/templates/osal
+
+# Shared variables
+ALLCSRC += $(OSALSRC)
+ALLINC += $(OSALINC)
diff --git a/os/hal/templates/platform.mk b/os/hal/templates/platform.mk
index fac62e0b0..e10b8dd61 100644
--- a/os/hal/templates/platform.mk
+++ b/os/hal/templates/platform.mk
@@ -96,3 +96,7 @@ endif
# Required include directories
PLATFORMINC = ${CHIBIOS}/os/hal/templates
+
+# Shared variables
+ALLCSRC += $(PLATFORMSRC)
+ALLINC += $(PLATFORMINC)