summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-strp711/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/olimex-strp711/src/Makefile')
-rw-r--r--nuttx/configs/olimex-strp711/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-strp711/src/Makefile b/nuttx/configs/olimex-strp711/src/Makefile
index 5d8c82b97..a46c97c84 100644
--- a/nuttx/configs/olimex-strp711/src/Makefile
+++ b/nuttx/configs/olimex-strp711/src/Makefile
@@ -41,6 +41,9 @@ CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_spi.c up_leds.c up_buttons.c
+ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
+CSRCS += up_nsh.c
+endif
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)