diff options
author | Bernhard Reutner-Fischer | 2006-03-01 22:54:48 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-03-01 22:54:48 +0000 |
commit | 5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch) | |
tree | 233c051da862595b6e473e832051708e2d9803cb /scripts/config | |
parent | 12c2429a4242a157217c5bc9673a531fa1e1de61 (diff) | |
download | busybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.zip busybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz |
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Diffstat (limited to 'scripts/config')
-rw-r--r-- | scripts/config/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile index c1cda3e..8983ee5 100644 --- a/scripts/config/Makefile +++ b/scripts/config/Makefile @@ -50,22 +50,20 @@ MCONF_OBJS = $(patsubst %.c,%.o, $(MCONF_SRC) $(LXD_SRC)) SHARED_OBJS = $(patsubst %.c,%.o, $(SHARED_SRC)) conf: $(CONF_OBJS) $(SHARED_OBJS) - $(SECHO) " "HOSTCC $@ ; true - $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@ + $(do_link.h) mconf: $(MCONF_OBJS) $(SHARED_OBJS) - $(SECHO) " "HOSTCC $@ ; true - $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@ $(LIBS) + $(do_link.h) $(LIBS) $(CONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS) $(compile.h) -I. $(MCONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS) - @[ -d $(@D) ] || mkdir -v $(@D) + @[ -d $(@D) ] || mkdir $(@D) $(compile.h) $(HOSTNCURSES) -I. lkc_defs.h: $(srcdir)/lkc_proto.h - @sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' + @$(SED) < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' ### # The following requires flex/bison |