aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/boards/px4fmu-v2/module.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/drivers/boards/px4fmu-v2/module.mk b/src/drivers/boards/px4fmu-v2/module.mk
index e62e48e99..cfe7e675b 100644
--- a/src/drivers/boards/px4fmu-v2/module.mk
+++ b/src/drivers/boards/px4fmu-v2/module.mk
@@ -7,13 +7,7 @@ SRCS = px4fmu_can.c \
px4fmu_pwm_servo.c \
px4fmu_spi.c \
px4fmu_usb.c \
- px4fmu2_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
+ px4fmu2_led.c \
+ ../../../modules/systemlib/up_cxxinitialize.c
MAXOPTIMIZATION = -Os