[U-Boot-Users] [PATCH] Fix/workaround broken dependency handling with make 3.81

Wolfgang Denk wd at denx.de
Tue Oct 24 14:59:34 CEST 2006


In message <20060829112039.339c0ead at cad-250-152.norway.atmel.com> you wrote:
> 
> This patch fixes the following problem:
> 
> make[1]: *** No rule to make target `hello_world.srec', needed by `all'.
> 
> The problem has been reported several times before, but so far no
> patches have been accepted and no one has fixed make. In fact, I can't
> even find any relevant bug reports against make.
> 
> This patch takes a slightly different approach than the other patches
> I've seen on the mailing list, as it lists the targets explicitly
> before each of the pattern rules for the elf-, srec- and bin-files.
> The dependencies for each target are correctly specified, so we don't
> end up depending on the build order (i.e. the ordering of prerequisites
> for the `all' rule)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Es ist nicht genug zu wissen, man muß auch anwenden; es ist nicht ge-
nug zu wollen, man muß auch tun.   -- Goethe, Maximen und Reflexionen




More information about the U-Boot mailing list