aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
commit5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch)
tree233c051da862595b6e473e832051708e2d9803cb /scripts
parent12c2429a4242a157217c5bc9673a531fa1e1de61 (diff)
downloadbusybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz
busybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.bz2
busybox-w32-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.zip
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index c1cda3e2a..8983ee5f3 100644
--- a/scripts/config/Makefile
+++ b/scripts/config/Makefile
@@ -50,22 +50,20 @@ MCONF_OBJS = $(patsubst %.c,%.o, $(MCONF_SRC) $(LXD_SRC))
50SHARED_OBJS = $(patsubst %.c,%.o, $(SHARED_SRC)) 50SHARED_OBJS = $(patsubst %.c,%.o, $(SHARED_SRC))
51 51
52conf: $(CONF_OBJS) $(SHARED_OBJS) 52conf: $(CONF_OBJS) $(SHARED_OBJS)
53 $(SECHO) " "HOSTCC $@ ; true 53 $(do_link.h)
54 $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@
55 54
56mconf: $(MCONF_OBJS) $(SHARED_OBJS) 55mconf: $(MCONF_OBJS) $(SHARED_OBJS)
57 $(SECHO) " "HOSTCC $@ ; true 56 $(do_link.h) $(LIBS)
58 $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@ $(LIBS)
59 57
60$(CONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS) 58$(CONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS)
61 $(compile.h) -I. 59 $(compile.h) -I.
62 60
63$(MCONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS) 61$(MCONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS)
64 @[ -d $(@D) ] || mkdir -v $(@D) 62 @[ -d $(@D) ] || mkdir $(@D)
65 $(compile.h) $(HOSTNCURSES) -I. 63 $(compile.h) $(HOSTNCURSES) -I.
66 64
67lkc_defs.h: $(srcdir)/lkc_proto.h 65lkc_defs.h: $(srcdir)/lkc_proto.h
68 @sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' 66 @$(SED) < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
69 67
70### 68###
71# The following requires flex/bison 69# The following requires flex/bison