Source-Changes-D archive

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

Re: CVS commit: src/share/mk



On Mon, Jan 17, 2011 at 12:50:04PM +0100, Joerg Sonnenberger wrote:
 > > > Modified Files:
 > > >  src/share/mk: sys.mk
 > > > 
 > > > Log Message:
 > > > Alpha doesn't need -traditional-cpp for assembler.
 > > 
 > > Shouldn't that logic be in bsd.own.mk and not sys.mk?
 > 
 > The .S rules are in sys.mk and it is supposed to be self-contained.
 > bsd.dep.mk reuses the variable.

The reason sys.mk is supposed to be self-contained is that it's always
included by make; that is, it's not part of the NetBSD build system
and is exposed to every program you build anywhere. bsd.own.mk, by
contrast, is part of the NetBSD build system. Definitions that are
applicable only to building NetBSD should be in bsd.own.mk, not
sys.mk, and this I think is one of those.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index