diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-28 21:58:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-28 21:58:24 +0000 |
commit | 0819616be7c980481cd570ce39448d84408d7859 (patch) | |
tree | 758d98e071ebf53438273bab0cdc776460d7db3a /nuttx/configs/stm32f4discovery/src/Makefile | |
parent | 49afb62815da9b34b66a22e41c973504b194258f (diff) | |
download | px4-nuttx-0819616be7c980481cd570ce39448d84408d7859.tar.gz px4-nuttx-0819616be7c980481cd570ce39448d84408d7859.tar.bz2 px4-nuttx-0819616be7c980481cd570ce39448d84408d7859.zip |
Add support for C++ static constructors (at least to a few platforms)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4438 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/Makefile')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/Makefile b/nuttx/configs/stm32f4discovery/src/Makefile index 88fd4e0ec..074f8518e 100644 --- a/nuttx/configs/stm32f4discovery/src/Makefile +++ b/nuttx/configs/stm32f4discovery/src/Makefile @@ -42,6 +42,10 @@ AOBJS = $(ASRCS:.S=$(OBJEXT)) CSRCS = up_boot.c up_spi.c +ifeq ($(CONFIG_HAVE_CXX),y) +CSRCS += up_cxxinitialize.c +endif + ifeq ($(CONFIG_ARCH_LEDS),y) CSRCS += up_autoleds.c else |