diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-12 08:25:58 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-12 08:25:58 +0000 |
commit | 7b2139850539c3032956b44fa94c405bbde885e8 (patch) | |
tree | e9181a8bd2122cf297c9e59ffa4f4ae5b4f768bb /test | |
parent | 81a69797f3d32548fdb2d61c82b835066175c7e2 (diff) | |
download | ChibiOS-7b2139850539c3032956b44fa94c405bbde885e8.tar.gz ChibiOS-7b2139850539c3032956b44fa94c405bbde885e8.tar.bz2 ChibiOS-7b2139850539c3032956b44fa94c405bbde885e8.zip |
Smart build option added to all makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7963 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/hal/testbuild/Makefile | 6 | ||||
-rw-r--r-- | test/nil/testbuild/Makefile | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/hal/testbuild/Makefile b/test/hal/testbuild/Makefile index 89214a8e4..83b8a7c01 100644 --- a/test/hal/testbuild/Makefile +++ b/test/hal/testbuild/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
##############################################################################
diff --git a/test/nil/testbuild/Makefile b/test/nil/testbuild/Makefile index 1de38a2a9..569f8c152 100644 --- a/test/nil/testbuild/Makefile +++ b/test/nil/testbuild/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
##############################################################################
|