summaryrefslogtreecommitdiff
path: root/applets/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-03-01 22:54:48 +0000
committerBernhard Reutner-Fischer2006-03-01 22:54:48 +0000
commit5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch)
tree233c051da862595b6e473e832051708e2d9803cb /applets/Makefile.in
parent12c2429a4242a157217c5bc9673a531fa1e1de61 (diff)
downloadbusybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.zip
busybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Diffstat (limited to 'applets/Makefile.in')
-rw-r--r--applets/Makefile.in20
1 files changed, 5 insertions, 15 deletions
diff --git a/applets/Makefile.in b/applets/Makefile.in
index 02bcda9..64aefc0 100644
--- a/applets/Makefile.in
+++ b/applets/Makefile.in
@@ -4,23 +4,13 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-APPLETS_AR:=applets.a
-ifndef $(APPLETS_DIR)
-APPLETS_DIR:=$(top_builddir)/applets/
-endif
srcdir=$(top_srcdir)/applets
+objdir=$(top_builddir)/applets
-APPLET_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c)
-APPLET_OBJ:= $(patsubst $(srcdir)/%.c,$(APPLETS_DIR)%.o, $(APPLET_SRC))
+APPLETS_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c)
-APPLET_SRC-y+=$(APPLET_SRC)
-APPLET_SRC-a+=$(APPLET_SRC)
+APPLET_SRC-y+=$(APPLETS_SRC)
+APPLET_SRC-a+=$(APPLETS_SRC)
-libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
+applets_OBJ:=$(patsubst $(srcdir)/%.c,$(objdir)/%.o,$(APPLETS_SRC))
-$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
- $(do_ar)
-
-$(APPLET_OBJ): $(top_builddir)/.config
-$(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
- $(compile.c)