aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-30 15:00:11 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-11 07:41:00 +0100
commit11934bd4cab65f5003799e1a9ee364a4270efdaa (patch)
treed2aa814498bd69027e9d330b109b3c3437485d54
parenteae591f3c72b97d0a503d05fb2ed33946747a2e6 (diff)
downloadpx4-firmware-11934bd4cab65f5003799e1a9ee364a4270efdaa.tar.gz
px4-firmware-11934bd4cab65f5003799e1a9ee364a4270efdaa.tar.bz2
px4-firmware-11934bd4cab65f5003799e1a9ee364a4270efdaa.zip
Simplify aerocore config
-rw-r--r--src/drivers/boards/aerocore/module.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/drivers/boards/aerocore/module.mk b/src/drivers/boards/aerocore/module.mk
index 05e3d878d..c1b51cd26 100644
--- a/src/drivers/boards/aerocore/module.mk
+++ b/src/drivers/boards/aerocore/module.mk
@@ -5,12 +5,7 @@
SRCS = aerocore_init.c \
aerocore_pwm_servo.c \
aerocore_spi.c \
- aerocore_led.c
-
-ENABLE_CXXINITIALIZE=$(call check_nuttx_config ,"CONFIG_HAVE_CXX 1", $(NUTTX_CONFIG_H))
-ENABLE_CXXINITIALIZE+=$(call check_nuttx_config ,"CONFIG_HAVE_CXXINITIALIZE 1", $(NUTTX_CONFIG_H))
-ifeq ("$(ENABLE_CXXINITIALIZE)",$(nuttx_config_2true))
-SRCS += ../../../modules/systemlib/up_cxxinitialize.c
-endif
+ aerocore_led.c \
+ ../../../modules/systemlib/up_cxxinitialize.c
MAXOPTIMIZATION = -Os