Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/ofppc/stand/ofwboot
David Laight wrote:
> >
> > 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.....
That's what the "XXX" comment is for :-).
Yes there's a better way, I (or you!) just haven't figured out what
the best method is yet.
Simon.
--
Simon Burge <simonb%wasabisystems.com@localhost>
NetBSD Support and Service: http://www.wasabisystems.com/
Home |
Main Index |
Thread Index |
Old Index