diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-04-03 23:06:52 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-04-03 23:06:52 -0300 |
commit | 5f837213956af6bba4b924404b561ed4f0775a1a (patch) | |
tree | 901a84c5d4943471c66661580ffd827e347b915e /demos/NRF51 | |
parent | d136a573cac8b1ece2c027f6085d7bc4f4bf1c6f (diff) | |
download | ChibiOS-Contrib-5f837213956af6bba4b924404b561ed4f0775a1a.tar.gz ChibiOS-Contrib-5f837213956af6bba4b924404b561ed4f0775a1a.tar.bz2 ChibiOS-Contrib-5f837213956af6bba4b924404b561ed4f0775a1a.zip |
Fix paths in demo Makefile
Diffstat (limited to 'demos/NRF51')
-rw-r--r-- | demos/NRF51/RT-WVSHARE_BLE400/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/Makefile b/demos/NRF51/RT-WVSHARE_BLE400/Makefile index ffa30f4..ac3dc39 100644 --- a/demos/NRF51/RT-WVSHARE_BLE400/Makefile +++ b/demos/NRF51/RT-WVSHARE_BLE400/Makefile @@ -43,6 +43,12 @@ ifeq ($(USE_VERBOSE_COMPILE),) USE_VERBOSE_COMPILE = no
endif
+# If enabled, this option makes the build process faster by not compiling
+# modules not used in the current configuration.
+ifeq ($(USE_SMART_BUILD),)
+ USE_SMART_BUILD = yes
+endif
+
#
# Build global options
##############################################################################
@@ -83,7 +89,7 @@ PROJECT = ch CHIBIOS = ../../../../ChibiOS-RT
CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib
# Startup files.
-include $(CHIBIOS_CONTRIB)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_nrf51.mk
+include $(CHIBIOS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_nrf51.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS_CONTRIB)/os/hal/ports/NRF51/NRF51822/platform.mk
@@ -91,7 +97,7 @@ include $(CHIBIOS_CONTRIB)/os/hal/boards/WVSHARE_BLE400/board.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
-include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_v6m.mk
+include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v6m.mk
# Other files (optional).
include $(CHIBIOS)/test/rt/test.mk
@@ -207,5 +213,5 @@ ULIBS = # End of user defines
##############################################################################
-RULESPATH = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC
-include $(RULESPATH)/rules.mk
+RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/ld
+include $(RULESPATH)/../rules.mk
|