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



> 
> 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@localhost



Home | Main Index | Thread Index | Old Index