diff options
Diffstat (limited to 'nuttx/configs/nucleus2g/src/Makefile')
-rwxr-xr-x | nuttx/configs/nucleus2g/src/Makefile | 7 |
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) |