atom feed9 messages in org.freebsd.freebsd-stableRe: CPUTYPE weirdness
FromSent OnAttachments
Pascal HofsteeAug 14, 2008 5:35 am 
Pascal HofsteeAug 14, 2008 5:54 am 
Jeremy ChadwickAug 14, 2008 6:09 am 
Jeremy ChadwickAug 14, 2008 6:10 am 
Stefan LambrevAug 14, 2008 6:22 am 
Johan HendriksAug 14, 2008 7:13 am 
Jeremy ChadwickAug 14, 2008 7:36 am 
Jeremy ChadwickAug 14, 2008 7:39 am 
Jase ThewAug 14, 2008 7:41 am 
Subject:Re: CPUTYPE weirdness
From:Jeremy Chadwick (koi@FreeBSD.org)
Date:Aug 14, 2008 6:10:33 am
List:org.freebsd.freebsd-stable

On Thu, Aug 14, 2008 at 02:54:41PM +0200, Pascal Hofstee wrote:

On Thu, 14 Aug 2008 14:35:46 +0200 Pascal Hofstee <cael@gmail.com> 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.