[U-Boot-Users] [PATCH] fix for "make doesn't know how to make target in examples/"

Wolfgang Denk wd at denx.de
Mon Jul 10 18:41:28 CEST 2006


In message <44B259F8.8090902 at cola.voip.idv.tw> you wrote:
>
> $ make
> make: *** No rule to make target `1.out', needed by `all'.  Stop.
> 
> And then I replace "all: 1.out 1" with "all: 1 1.out", it works.

Aha! This is exactly what I wanted to  know.  This  is  the  specific
failure  mode  tha  has  been  reported  couple times before. See for
example
http://sourceforge.net/mailarchive/message.php?msg_id=15318222

> The sequence of the prerequisites affect the result for me, and that's

Yes, this is the observation all users of GNU make version 3.81 made,
and which I consider a bug in make. Nothing in the 3.80 documentation
gives any hint that the order of the file names in  the  prerequisite
list (to be precise, we're talking about `normal' prerequisites here,
not  about  `order-only"  prerequisites)  might  be important for the
result of the depemdency checking. Actually I am convinced that there
must be no such dependency on the order, as this can lead to circular
dependencies that would be impossible to solve.

So as a summary: your version of make is broken.

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
In a survey taken several years ago, all  incoming  freshmen  at  MIT
were  asked  if  they  expected  to graduate in the top half of their
class. Ninety-seven percent responded that they did.




More information about the U-Boot mailing list