Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 06:09:54 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Pascal Hofstee <caelian@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: CPUTYPE weirdness
Message-ID:  <20080814130954.GA25304@eos.sc1.parodius.com>
In-Reply-To: <20080814143546.5e1a6a16@nebuchadnezzar>
References:  <20080814143546.5e1a6a16@nebuchadnezzar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 14, 2008 at 02:35:46PM +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) ?

1) Remove the space after the word "CPUTYPE", e.g.:

	CPUTYPE?=core2

You can put a tab after the "=" if you want, e.g.:

	CPUTYPE?=	core2

2) According to some very old mail I have (will dig it up if you want),
Core2Duo users should be using CPUTYPE?=nocona.

-- 
| 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080814130954.GA25304>