aboutsummaryrefslogtreecommitdiff
path: root/scripts/config
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-01 22:54:48 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-01 22:54:48 +0000
commit3e42de836e4e08c6226383f84de0f734f96c8697 (patch)
tree233c051da862595b6e473e832051708e2d9803cb /scripts/config
parentb7c6f4ee19e3b2a465d2ef8c1ec3e51e6572e7ff (diff)
downloadbusybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.tar.gz
busybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.tar.bz2
busybox-w32-3e42de836e4e08c6226383f84de0f734f96c8697.zip
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'scripts/config')
-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