tech-toolchain archive

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

Re: Per source build options

On Mon, May 12, 2008 at 15:49:24 +0300, Mikko Rapeli wrote:

> While trying to build userspace for arm/thumb instrunction set, I
> needed a way to set per source build options. Since the bsd make
> manual is nice enough to show a way, I also documented my slightly
> different version to
> incase someone else might like to find this.
> If you have easier, cleaner etc. ways of doing the same, I'd like to
> hear about them. Or just update the wiki.

You mean, like

COPTS.kern_synch.c+= -fno-reorder-blocks
CPPFLAGS.sigcompat.c+= -I${NETBSDSRCDIR}/sys
CPPFLAGS.init_main.c+= -Dmain=kernmain

etc, as documented in, admittedly well hidden, share/mk/bsd.README?

SY, Uwe
--                       |       Zu Grunde kommen          |       Ist zu Grunde gehen

Home | Main Index | Thread Index | Old Index