aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-30 15:04:47 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-11 07:41:00 +0100
commitfbd2ae1c347da65c5e54b0ca4401e0b1d45a509f (patch)
tree364a058ad6437db971ebc132ea6412b88c03270d
parentce22d202cda491cb1429e3617d13019b8d182509 (diff)
downloadpx4-firmware-fbd2ae1c347da65c5e54b0ca4401e0b1d45a509f.tar.gz
px4-firmware-fbd2ae1c347da65c5e54b0ca4401e0b1d45a509f.tar.bz2
px4-firmware-fbd2ae1c347da65c5e54b0ca4401e0b1d45a509f.zip
IOv2: simplify config
-rw-r--r--src/drivers/boards/px4io-v2/module.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/drivers/boards/px4io-v2/module.mk b/src/drivers/boards/px4io-v2/module.mk
index 5613ad405..15e003599 100644
--- a/src/drivers/boards/px4io-v2/module.mk
+++ b/src/drivers/boards/px4io-v2/module.mk
@@ -3,12 +3,7 @@
#
SRCS = px4iov2_init.c \
- px4iov2_pwm_servo.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
+ px4iov2_pwm_servo.c \
+ ../../../modules/systemlib/up_cxxinitialize.c
MAXOPTIMIZATION = -Os