summaryrefslogtreecommitdiff
path: root/archival/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 /archival/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 'archival/Makefile.in')
-rw-r--r--archival/Makefile.in16
1 files changed, 2 insertions, 14 deletions
diff --git a/archival/Makefile.in b/archival/Makefile.in
index ee284ad..6a2979e 100644
--- a/archival/Makefile.in
+++ b/archival/Makefile.in
@@ -4,14 +4,9 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-ARCHIVAL_AR:=archival.a
-ifndef $(ARCHIVAL_DIR)
-ARCHIVAL_DIR:=$(top_builddir)/archival/
-endif
srcdir=$(top_srcdir)/archival
+objdir=$(top_builddir)/archival
-ARCHIVAL-y:=
-ARCHIVAL-$(CONFIG_APT_GET) +=
ARCHIVAL-$(CONFIG_AR) += ar.o
ARCHIVAL-$(CONFIG_BUNZIP2) += bunzip2.o
ARCHIVAL-$(CONFIG_UNLZMA) += unlzma.o
@@ -26,17 +21,10 @@ ARCHIVAL-$(CONFIG_TAR) += tar.o
ARCHIVAL-$(CONFIG_UNCOMPRESS) += uncompress.o
ARCHIVAL-$(CONFIG_UNZIP) += unzip.o
-ifneq ($(strip $(ARCHIVAL-y)),)
-libraries-y+=$(ARCHIVAL_DIR)$(ARCHIVAL_AR)
-endif
-
ARCHIVAL_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(ARCHIVAL-y))
ARCHIVAL_SRC-a:=$(wildcard $(srcdir)/*.c)
APPLET_SRC-y+=$(ARCHIVAL_SRC-y)
APPLET_SRC-a+=$(ARCHIVAL_SRC-a)
-$(ARCHIVAL_DIR)$(ARCHIVAL_AR): $(patsubst %,$(ARCHIVAL_DIR)%, $(ARCHIVAL-y))
- $(do_ar)
+archival_OBJ:= $(patsubst %,$(objdir)/%,$(ARCHIVAL-y))
-$(ARCHIVAL_DIR)%.o: $(srcdir)/%.c
- $(compile.c)