diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-07 21:16:31 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-07 21:16:31 +0200 |
commit | 66879e6ff64b23e417b4101243922cefd34eef7d (patch) | |
tree | 4c49dcb9dc50ad2870cd899d30f521965611dbab /nuttx/configs/px4fmu/common/Make.defs | |
parent | b52aeea746f7b38633cc571f5d8a6a849ed5e218 (diff) | |
download | px4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.tar.gz px4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.tar.bz2 px4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.zip |
Hotfix: Make maxoptimization configurable from the shell via MAXOPTIMIZATION=-O0 V=1 make archives
Diffstat (limited to 'nuttx/configs/px4fmu/common/Make.defs')
-rw-r--r-- | nuttx/configs/px4fmu/common/Make.defs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs index 756286ccb..22accee56 100644 --- a/nuttx/configs/px4fmu/common/Make.defs +++ b/nuttx/configs/px4fmu/common/Make.defs @@ -58,7 +58,7 @@ NM = $(CROSSDEV)nm OBJCOPY = $(CROSSDEV)objcopy OBJDUMP = $(CROSSDEV)objdump -MAXOPTIMIZATION = -O3 +MAXOPTIMIZATION ?= -O3 ARCHCPUFLAGS = -mcpu=cortex-m4 \ -mthumb \ -march=armv7e-m \ |