DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/boot/i386/loader Makefile


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 6 Jul 2005 00:27:35 +0900

On Mon, Jul 04, 2005 at 02:39:05PM -0700, Jeroen Ruigrok/asmodai wrote:
> asmodai     2005/07/04 14:39:05 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sys/boot/i386/loader Makefile 
>   Log:
>   Rename the variable PROG to LDR to remove a warning message about
>   'line 43: warning: duplicate script for target "loader" ignored"'.
>   
>   The thing was that ${PROG}: was specified later on in the Makefile, which
>   conflicts with line 39 from bsd.prog.mk, which is:
>   
>   ${PROG}: ${OBJS}
>   
>   thus redefining ${PROG} or rather loader.

With this change however, the target `all', which is used recursively
by the parent Makefile, became no-op.  It also removed something from
`install' target, so for instance, ${LDR} won't get installed when you
type `make install' from this directory.

<bsd.prog.mk> has a special dependency on $PROG, so removing ${PROG}
from your Makefile also removes a few other important things (try running
make from /sys/boot and you'll know it).



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]