summaryrefslogtreecommitdiffhomepage
path: root/coreutils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/Makefile.in')
-rw-r--r--coreutils/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/coreutils/Makefile.in b/coreutils/Makefile.in
index 5f8a0ac52..73581f2aa 100644
--- a/coreutils/Makefile.in
+++ b/coreutils/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/coreutils
-objdir=$(top_builddir)/coreutils
+srcdir:=$(top_srcdir)/coreutils
+objdir:=$(top_builddir)/coreutils
COREUTILS-$(CONFIG_BASENAME) += basename.o
COREUTILS-$(CONFIG_CAL) += cal.o
@@ -86,3 +86,7 @@ APPLET_SRC-a+=$(COREUTILS_SRC-a)
coreutils_OBJ:= $(patsubst %,$(objdir)/%,$(COREUTILS-y))
+$(coreutils_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/coreutils.a: $(coreutils_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/coreutils.a
+