aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
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)