summaryrefslogtreecommitdiff
path: root/apps/nshlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/Makefile')
-rw-r--r--apps/nshlib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/nshlib/Makefile b/apps/nshlib/Makefile
index a838f9589..91ffc2c5e 100644
--- a/apps/nshlib/Makefile
+++ b/apps/nshlib/Makefile
@@ -55,6 +55,10 @@ ifeq ($(CONFIG_NET),y)
CSRCS += nsh_netinit.c nsh_netcmds.c
endif
+ifeq ($(CONFIG_RTC),y)
+CSRCS += nsh_timcmds.c
+endif
+
ifeq ($(CONFIG_NSH_CONSOLE),y)
CSRCS += nsh_serial.c
endif
@@ -67,6 +71,7 @@ ifneq ($(CONFIG_NSH_DISABLESCRIPT),y)
CSRCS += nsh_test.c
endif
+
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))