I have in the past used
CPUTYPE=i686
in /etc/make.conf
But today, I am getting
# make buildworld
"Makefile.inc1", line 117: CPUTYPE global should be set with ?=.
*** Error code 1
Stop in /usr/src.
#
This no longer seems to work. What is the correct syntax for this ?
The rest is fairly generic
CPUTYPE=i686
PERL_VER=5.8.5
PERL_VERSION=5.8.5
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
KERNCONF=west1
CFLAGS=-O -pipe
COPTFLAGS=-O -pipe
NO_MODULES=true # do not build modules with the kernel
MODULES_WITH_WORLD=true # do not build modules when building kernel
---Mike
--------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
from /usr/share/examples/etc/make.conf ---- # Currently the following CPU types are recognized: # Intel x86 architecture: # (AMD CPUs) athlon-mp athlon-xp athlon-4 athlon-tbird athlon # k6-3 # k6-2 k6 k5 # (Intel CPUs) p4 p3 p2 i686 i586/mmx i586 i486 i386 # Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4 # Intel ia64 architecture: itanium # # (?= allows to buildworld for a different CPUTYPE.) # #CPUTYPE?=i686 #NO_CPU_CFLAGS= true # Don't add -march=<cpu> to CFLAGS automatically #NO_CPU_COPTFLAGS=true # Don't add -march=<cpu> to COPTFLAGS #automatically # ---- Mike Tancsa <mike@sentex.net> schrieb:> > I have in the past used > CPUTYPE=i686 > > in /etc/make.conf > > > > But today, I am getting > > > > # make buildworld > "Makefile.inc1", line 117: CPUTYPE global should be set with ?=. > *** Error code 1 > > Stop in /usr/src. > # > > This no longer seems to work. What is the correct syntax for this ?[...] Dirk
On Wed, Dec 22, 2004 at 01:51:51PM -0500, Mike Tancsa wrote:> > I have in the past used > CPUTYPE=i686 > > in /etc/make.conf > > > > But today, I am getting > > > > # make buildworld > "Makefile.inc1", line 117: CPUTYPE global should be set with ?=. > *** Error code 1 > > Stop in /usr/src. > # > > This no longer seems to work. What is the correct syntax for this ?Set CPUTYPE with ?= instead of = ;-) Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041222/9e7691a6/attachment.bin
Hi Mike, On Wed, Dec 22, 2004 at 01:51:51PM -0500, Mike Tancsa wrote:> > I have in the past used > CPUTYPE=i686 > > in /etc/make.conf > > > > But today, I am getting > > > > # make buildworld > "Makefile.inc1", line 117: CPUTYPE global should be set with ?=. > *** Error code 1 > > Stop in /usr/src. > # > > This no longer seems to work. What is the correct syntax for this ? >The error shouldn't have happened, it's intended only for cross-builders (those should be setting this variable with the ?= operator, to allow it to be overridden). I've just committed a fix in src/Makefile.inc1,v 1.471. You can pull up the fix and apply it to RELENG_5. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041223/da70a8f0/attachment.bin