Makefile bug

Gilles Espinasse g.esp at free.fr
Thu Aug 19 07:22:46 UTC 2010


Selon Keith Hedger <kdhedger at yahoo.co.uk>:

>   Hi
> Tried to compile busybox version 1.17.1 and there is a bug in the
> makefile at line 436 which causes this eror in gcc 4.4.4:
>
> Makefile:436: *** mixed implicit and normal rules.  Stop.
>
> The line is:
>
> config %config: scripts_basic outputmakefile gen_build_files FORCE
>
> The use of both pattern matching and normal rules has apparently been
> dropped in later gcc's the correction is:
>
> %config: scripts_basic outputmakefile gen_build_files FORCE
>
> And the same on line 1288, it should read:
>
> %/: prepare scripts FORCE
> Not:
> / %/: prepare scripts FORCE
>
> With these corrections busybox compiles fine, well done by the way!
>
> Hope this helps
> Keith
>
Should be a make-3.82 change vs 3.81, not gcc related.


Gilles


More information about the busybox mailing list