From owner-cvs-all Sat Jun 30 14:40:13 2001 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 089F637B405; Sat, 30 Jun 2001 14:40:03 -0700 (PDT) (envelope-from mark-ml@whistle.com) Received: from [207.76.207.129] ([10.1.10.118]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id OAA27880; Sat, 30 Jun 2001 14:38:40 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark-ml@207.76.206.1 Message-Id: In-Reply-To: <200106300639.f5U6dRB43532@freefall.freebsd.org> References: <200106300639.f5U6dRB43532@freefall.freebsd.org> Date: Sat, 30 Jun 2001 14:38:42 -0700 To: Warner Losh , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG From: Mark Peek Subject: Re: cvs commit: src/sys/conf Makefile.alpha Makefile.i386 Makefile.ia64 Makefile.pc98 Makefile.powerpc Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 . 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