Subject: Re: CVS commit: src/sys/arch/ofppc/stand/ofwboot
To: <>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 10/08/2003 08:27:50
> 
> Log Message:
> Use -ffreestanding.
> Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
> against them.

I hit this little problem (trying to build some standalone bits in an
unpopulated obj/dest tree).

My thought was that bsd.prog.mk isn't quite the Makefile you want.
Or rather you don't want its 'PROG' target.
Adding 4 defines to every Makefile that does this (loads of boot stuff)
doesn't seem quite the correct fix.....

	David

-- 
David Laight: david@l8s.co.uk