cvs commit: src/sys/boot/i386/loader Makefile
Michal Belczyk
diavul at bsd.krakow.pl
Tue Jul 5 12:20:59 PDT 2005
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.
The build is broken after this change:
===> sys/boot/i386/pxeldr
cc -O -pipe -march=pentiumpro -ffreestanding -mpreferred-stack-boundary=2 /cvs/DragonFly-HEAD/src/sys/boot/i386/pxeldr/pxeldr.S -o pxeldr.o -c
ld -N -e start -Ttext 0x7c00 -o pxeldr.out pxeldr.o
objcopy -S -O binary pxeldr.out pxeldr
make: don't know how to make /usr/obj/cvs/DragonFly-HEAD/src/world_i386/cvs/DragonFly-HEAD/src/sys/boot/i386/pxeldr/../loader/loader.bin. Stop
*** Error code 2
Stop in /cvs/DragonFly-HEAD/src/sys/boot/i386.
*** Error code 1
Stop in /cvs/DragonFly-HEAD/src/sys/boot.
*** Error code 1
Stop in /cvs/DragonFly-HEAD/src/sys.
*** Error code 1
Stop in /cvs/DragonFly-HEAD/src.
*** Error code 1
Stop in /cvs/DragonFly-HEAD/src.
*** Error code 1
Stop in /cvs/DragonFly-HEAD/src.
--
Michal Belczyk
More information about the Commits
mailing list