summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/Makefile.in b/shell/Makefile.in
index a204099..fcd93f3 100644
--- a/shell/Makefile.in
+++ b/shell/Makefile.in
@@ -17,7 +17,9 @@ SHELLT-$(CONFIG_LASH) += lash.o
SHELLT-$(CONFIG_MSH) += msh.o
SHELLT-$(CONFIG_FEATURE_COMMAND_EDITING) += cmdedit.o
+ifneq ($(strip $(SHELLT-y)),)
libraries-y+=$(SHELL_DIR)$(SHELL_AR)
+endif
SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELLT-y))
SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c)