summaryrefslogtreecommitdiff
path: root/nuttx/configs/nucleus2g/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-23 22:00:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-23 22:00:29 +0000
commit1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869 (patch)
tree18ab83ea532c1fb19f5f511e082919a71e2dda26 /nuttx/configs/nucleus2g/src/Makefile
parent56b5a053b7b0dabcb48601c37962f1886287dbe2 (diff)
downloadpx4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.tar.gz
px4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.tar.bz2
px4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.zip
Add SPI-based MMC/SD support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2761 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g/src/Makefile')
-rwxr-xr-xnuttx/configs/nucleus2g/src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/nucleus2g/src/Makefile b/nuttx/configs/nucleus2g/src/Makefile
index ad4a9ac9c..78a58d25b 100755
--- a/nuttx/configs/nucleus2g/src/Makefile
+++ b/nuttx/configs/nucleus2g/src/Makefile
@@ -38,9 +38,12 @@
CFLAGS += -I$(TOPDIR)/sched
ASRCS =
-AOBJS = $(ASRCS:.S=$(OBJEXT))
+CSRCS = up_boot.c up_leds.c up_ssp.c
+ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
+CSRCS += up_nsh.c
+endif
-CSRCS = up_boot.c up_leds.c
+AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)