summaryrefslogtreecommitdiff
path: root/shell/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Makefile.in')
-rw-r--r--shell/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/Makefile.in b/shell/Makefile.in
index 43e2acd..94cf729 100644
--- a/shell/Makefile.in
+++ b/shell/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/shell
-objdir=$(top_builddir)/shell
+srcdir:=$(top_srcdir)/shell
+objdir:=$(top_builddir)/shell
SHELL-$(CONFIG_ASH) += ash.o
SHELL-$(CONFIG_HUSH) += hush.o
@@ -21,3 +21,7 @@ APPLET_SRC-a+=$(SHELLT_SRC-a)
shell_OBJ:= $(patsubst %,$(objdir)/%,$(SHELL-y))
+$(shell_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/shell.a: $(shell_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/shell.a
+