Date: Sat, 30 Jun 2001 14:38:42 -0700 From: Mark Peek <mark-ml@whistle.com> To: Warner Losh <imp@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf Makefile.alpha Makefile.i386 Makefile.ia64 Makefile.pc98 Makefile.powerpc Message-ID: <p05100305b763baac62c5@[207.76.207.129]> In-Reply-To: <200106300639.f5U6dRB43532@freefall.freebsd.org> References: <200106300639.f5U6dRB43532@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 11:39 PM -0700 6/29/01, Warner Losh wrote:
>imp 2001/06/29 23:39:27 PDT
>
> Modified files:
> sys/conf Makefile.alpha Makefile.i386
> Makefile.ia64 Makefile.pc98
> Makefile.powerpc
> Log:
> The path in the last commit should have been
> src/sys/MACHINE/compile/FOO
>
> Revision Changes Path
> 1.104 +1 -1 src/sys/conf/Makefile.alpha
> 1.238 +1 -1 src/sys/conf/Makefile.i386
> 1.27 +1 -1 src/sys/conf/Makefile.ia64
> 1.137 +1 -1 src/sys/conf/Makefile.pc98
> 1.241 +1 -1 src/sys/conf/Makefile.powerpc
This is a good change. Thanks for making it.
I'm wondering, should the /sys/conf/Makefile.${MACHINE} files be
changed to hard code the machine? It currently has:
M = ${MACHINE_ARCH}
but now, we know we are compiling for a given machine architecture so
this could be hard coded. In some ways, you might also want to switch
this around with (for instance):
M = powerpc
MACHINE_ARCH = ${M}
In other words, you know you're building a powerpc kernel, make sure
you pull in the correct include files and CFLAGS from <bsd.kern.mk>.
This helps for cross compilation of the kernel.
Mark
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05100305b763baac62c5>
