blob: 9b3f38f2703bce69dde37db4832b130b0c0f08b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#
# Board-specific startup code for the PX4IO
#
SRCS = px4io_init.c \
px4io_pwm_servo.c \
../../../modules/systemlib/up_cxxinitialize.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
MAXOPTIMIZATION = -Os
|