Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Dec 2009 13:23:51 +0100
From:      ocean <ocean_ieee@yahoo.it>
To:        freebsd-questions@freebsd.org
Subject:   keeping system base update and problems with CPUTYPE
Message-ID:  <4B1E4557.40603@yahoo.it>

next in thread | raw e-mail | index | archive | help
i've read the manual section, and there's really not much informations 
on this.

i've looked into /usr/src/Makefile and Makefile.incl i've seen there are 
options to update /usr/src using svn (wich would be my preferred option) 
or cvs, but i haven't been able to configure it in any way.

i think i could just do:
svn checkout svn://svn.freebsd.org/base/stable/8/ /usr/src

but i wanted to keep it clean and organized using make in /usr/src
can someone point me to some informations about this or help me sorting 
this out?


i think i've also found an "unexpected behaviour" in make buildworld, 
i've put src.conf and makefile.conf in /etc/

CPUTYPE?=pentium-m
CFLAGS= -O2 -fno-strict-aliasing -pipe

buildkernel and ports build with the cflags and added -march=pentium-m

buildworld builds with the cflags i've specified without adding -march.
that's a strane behaviour since i think buildworld should build with 
CPUTYPE defined in /etc/make.conf, if you don't define another CPUTYPE 
variable.

i've also tried to do:
make CPUTYPE=pentium-m buildworld
and also this way -march isn't added to cflags

i wanted to ask if it's my fault before filling a PR about this.

only way i found to get -march=pentium-m on buildworld is to add it 
myself to CFLAGS in make.conf.

regards
ocean



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