In spite of some improvements regarding the race during parallel make
as discussed in https://www.mail-archive.com/[email protected]/msg23244.html ,
busybox build is eventually broken even with Busybox GIT commits addressing the
problem:
0dddbc1a59795a77679d8c5ef48a2795cb470563 ("build system: always rewrite
NUM_APPLETS.h")
d8e61bbf13d0cf38d477255cfd5dc71c5d51d575 ("build system: different fix for
include/applet_tables.h/include/NUM_APPLETS.h")
The error is consistently the same:
libbb/appletlib.c:164:13: error: 'NUM_APPLETS' undeclared (first use in this
function)
while (i < NUM_APPLETS) {
The reason is the include file where NUM_APPLETS is defined is not yet
generated (or is being modified)
at the time libbb/appletlib.c is compiled.
The attached patch fixes the problem by assuring libb is compiled as the last
directory.
Juro Bystricky (1):
Makefile: prevent race making libbb
Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
--
2.7.4
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox