compressed usage broke parallel builds
Yann E. MORIN
yann.morin.1998 at anciens.enib.fr
Sun May 21 20:21:54 UTC 2006
Bernhard, Denis,
All,
On Sunday 21 May 2006 205, Bernhard Fischer wrote:
> The attached patch works for me for
[[--SNIP--]
> Can somebody please test it with their use pattern and let me know if i
> broke something?
$ make oldconfig |grep 'using defaults found'
# using defaults found in .config
/bin/sh: /home/ymorin/dev/busybox-z-usage/scripts/usage_compressed: Permission denied
# using defaults found in .config
So now, "conf -o" is called twice, once for the rule: "include/bb_config.h:"
and once for the rule: "oldconfig:"
Plus this scripts/usage_compressed that is no longer executed, missing
$(SHELL) when calling it:
====
include/usage_compressed.h: $(top_srcdir)/scripts/usage_compressed
$(disp_gen)
- $(Q)$(<) "$(top_builddir)/scripts" > $@
+ $(Q)$(SHELL) $(<) "$(top_builddir)/scripts" > $@
endif # CONFIG_FEATURE_COMPRESS_USAGE
====
Try also the following from a distclean tree:
$ touch .config
$ make distclean
Without the patch, it works like a charm (makes a distclean). With the patch,
it asks all the questions to create a correct .config first.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< °_° >==-- °---.----------------: X AGAINST | /e\ There is no |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL | """ conspiracy. |
°---------------------°----------------°------------------°--------------------°
More information about the busybox
mailing list