summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4l-xplained/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sam4l-xplained/src/Makefile')
-rw-r--r--nuttx/configs/sam4l-xplained/src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/sam4l-xplained/src/Makefile b/nuttx/configs/sam4l-xplained/src/Makefile
index 15b5ff67e..01813faf4 100644
--- a/nuttx/configs/sam4l-xplained/src/Makefile
+++ b/nuttx/configs/sam4l-xplained/src/Makefile
@@ -42,6 +42,10 @@ AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = sam_boot.c sam_spi.c
+ifeq ($(CONFIG_HAVE_CXX),y)
+CSRCS += sam_cxxinitialize.c
+endif
+
ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += sam_autoleds.c
else