From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 13:10:57 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29BED1065678 for ; Thu, 14 Aug 2008 13:10:57 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 177B98FC15 for ; Thu, 14 Aug 2008 13:10:57 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id EEDE41CC0BD; Thu, 14 Aug 2008 06:10:56 -0700 (PDT) Date: Thu, 14 Aug 2008 06:10:56 -0700 From: Jeremy Chadwick To: Pascal Hofstee Message-ID: <20080814131056.GB25304@eos.sc1.parodius.com> References: <20080814143546.5e1a6a16@nebuchadnezzar> <20080814145441.0e6130d7@nebuchadnezzar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080814145441.0e6130d7@nebuchadnezzar> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: CPUTYPE weirdness X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 13:10:57 -0000 On Thu, Aug 14, 2008 at 02:54:41PM +0200, Pascal Hofstee wrote: > On Thu, 14 Aug 2008 14:35:46 +0200 > Pascal Hofstee wrote: > > > I just installed a fresh FreeBSD/amd64 7.0-RELEASE and trying to > > update to RELENG_7_0. > > > > I added CPUTYPE ?= core2 to my /etc/src.conf and every call to make > > in /usr/src now gives me the error > > > > "/usr/src/Makefile.inc1", line 142: CPUTYPE global should be set > > with ?=. > > *** Error code 1 > > > > Anyone has any idea what i am doing wrong here ... this same mechanism > > has worked flawlessly on several other systems (although they were not > > RELENG_7_0) ? > > Ok ... minor follow up. > I found one way to "resolve" this problem, which consists of > besides /etc/src.conf also creating an /etc/make.conf that contains a > single "CPUTYPE ?= core2". Another mistake: You do not declare CPUTYPE in src.conf; you put it in make.conf. Please read the src.conf(5) and make.conf(5) manpages to distinguish the difference in functionality. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |