summaryrefslogtreecommitdiff
path: root/apps/nshlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/Makefile')
-rw-r--r--apps/nshlib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/nshlib/Makefile b/apps/nshlib/Makefile
index a1586bb00..09b6f6122 100644
--- a/apps/nshlib/Makefile
+++ b/apps/nshlib/Makefile
@@ -63,6 +63,9 @@ endif
ifeq ($(CONFIG_NET),y)
CSRCS += nsh_netinit.c nsh_netcmds.c
+ifeq ($(CONFIG_NET_ROUTE),y)
+CSRCS += nsh_routecmds.c
+endif
endif
ifeq ($(CONFIG_RTC),y)