summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-03-09 09:03:37 +0000
committerBernhard Reutner-Fischer2006-03-09 09:03:37 +0000
commit07a79e75f502ebd41e5341aacc5de303d3ffaea0 (patch)
tree4b95f98bab0b298c5df171772b629d03400ef507 /modutils
parent874af85d5eb08b65476f406f6a1e7edc127ac210 (diff)
downloadbusybox-07a79e75f502ebd41e5341aacc5de303d3ffaea0.zip
busybox-07a79e75f502ebd41e5341aacc5de303d3ffaea0.tar.gz
- backout using features which are not available with the previous stable
version of make (3.71.1).
Diffstat (limited to 'modutils')
-rw-r--r--modutils/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/modutils/Makefile.in b/modutils/Makefile.in
index fc7e4ff..a59b29d 100644
--- a/modutils/Makefile.in
+++ b/modutils/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/modutils
-objdir=$(top_builddir)/modutils
+srcdir:=$(top_srcdir)/modutils
+objdir:=$(top_builddir)/modutils
MODUTILS-$(CONFIG_INSMOD) += insmod.o
MODUTILS-$(CONFIG_LSMOD) += lsmod.o
@@ -19,3 +19,7 @@ APPLET_SRC-a+=$(MODUTILS_SRC-a)
modutils_OBJ:= $(patsubst %,$(objdir)/%,$(MODUTILS-y))
+$(modutils_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/modutils.a: $(modutils_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/modutils.a
+