diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2016-08-11 09:24:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 09:24:52 +0200 |
commit | b153796a5dd6aff59e8f22c50f6017d175c76e0a (patch) | |
tree | 684d289629865e95cc48ccb7d5d233e516a295e8 /testhal | |
parent | 569aa39fbad9b47efe45635850f82c040c765318 (diff) | |
parent | 1853428c80a396bb3434c50920ef5d10766c6a14 (diff) | |
download | ChibiOS-Contrib-b153796a5dd6aff59e8f22c50f6017d175c76e0a.tar.gz ChibiOS-Contrib-b153796a5dd6aff59e8f22c50f6017d175c76e0a.tar.bz2 ChibiOS-Contrib-b153796a5dd6aff59e8f22c50f6017d175c76e0a.zip |
Merge pull request #94 from marcoveeneman/tiva-improvements
Tiva smart build support
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/TIVA/TM4C123x/EXT/Makefile | 6 | ||||
-rw-r--r-- | testhal/TIVA/TM4C123x/GPT/Makefile | 6 | ||||
-rw-r--r-- | testhal/TIVA/TM4C123x/I2C/Makefile | 6 | ||||
-rw-r--r-- | testhal/TIVA/TM4C123x/PWM/Makefile | 6 | ||||
-rw-r--r-- | testhal/TIVA/TM4C123x/SPI/Makefile | 6 | ||||
-rw-r--r-- | testhal/TIVA/TM4C123x/WDG/Makefile | 8 |
6 files changed, 37 insertions, 1 deletions
diff --git a/testhal/TIVA/TM4C123x/EXT/Makefile b/testhal/TIVA/TM4C123x/EXT/Makefile index f587083..f2833ec 100644 --- a/testhal/TIVA/TM4C123x/EXT/Makefile +++ b/testhal/TIVA/TM4C123x/EXT/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/testhal/TIVA/TM4C123x/GPT/Makefile b/testhal/TIVA/TM4C123x/GPT/Makefile index f587083..f2833ec 100644 --- a/testhal/TIVA/TM4C123x/GPT/Makefile +++ b/testhal/TIVA/TM4C123x/GPT/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/testhal/TIVA/TM4C123x/I2C/Makefile b/testhal/TIVA/TM4C123x/I2C/Makefile index 32abbee..d4d1334 100644 --- a/testhal/TIVA/TM4C123x/I2C/Makefile +++ b/testhal/TIVA/TM4C123x/I2C/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/testhal/TIVA/TM4C123x/PWM/Makefile b/testhal/TIVA/TM4C123x/PWM/Makefile index f587083..f2833ec 100644 --- a/testhal/TIVA/TM4C123x/PWM/Makefile +++ b/testhal/TIVA/TM4C123x/PWM/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/testhal/TIVA/TM4C123x/SPI/Makefile b/testhal/TIVA/TM4C123x/SPI/Makefile index f587083..f2833ec 100644 --- a/testhal/TIVA/TM4C123x/SPI/Makefile +++ b/testhal/TIVA/TM4C123x/SPI/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/testhal/TIVA/TM4C123x/WDG/Makefile b/testhal/TIVA/TM4C123x/WDG/Makefile index 5ae01c9..f2833ec 100644 --- a/testhal/TIVA/TM4C123x/WDG/Makefile +++ b/testhal/TIVA/TM4C123x/WDG/Makefile @@ -5,7 +5,7 @@ # Compiler options here. ifeq ($(USE_OPT),) - USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 + USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). @@ -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 ############################################################################## |