summaryrefslogtreecommitdiff
path: root/init/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'init/Makefile.in')
-rw-r--r--init/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/init/Makefile.in b/init/Makefile.in
index a07c218..ef5eb1c 100644
--- a/init/Makefile.in
+++ b/init/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/init
-objdir=$(top_builddir)/init
+srcdir:=$(top_srcdir)/init
+objdir:=$(top_builddir)/init
INIT-$(CONFIG_HALT) += halt.o
INIT-$(CONFIG_INIT) += init.o
@@ -30,3 +30,7 @@ APPLET_SRC-a+=$(INIT_SRC-a)
init_OBJ:= $(patsubst %,$(objdir)/%,$(INIT-y))
+$(init_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/init.a: $(init_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/init.a
+