From owner-freebsd-questions@FreeBSD.ORG Tue Dec 8 12:51:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 462AA106568F for ; Tue, 8 Dec 2009 12:51:28 +0000 (UTC) (envelope-from ocean_ieee@yahoo.it) Received: from smtp108.plus.mail.re1.yahoo.com (smtp108.plus.mail.re1.yahoo.com [69.147.102.71]) by mx1.freebsd.org (Postfix) with SMTP id E33478FC21 for ; Tue, 8 Dec 2009 12:51:27 +0000 (UTC) Received: (qmail 20498 invoked from network); 8 Dec 2009 12:24:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=S+vkJ+JV0mmaHTGkQA2m+H2ikV2tnI8KrMP3w9c0+2MOngMX05w/bnF7xMJzGXuy6ixmtA7sz7s3yP+TbuTPB40T4gHAZJmykXTBmKmT9vlpELBTVFirOtVsVwSdkG0q+R8BGYUMpa+qbXpf3wW/XiPoAslqDhYRP+kAq4nQyC4= ; Received: from 213-156-35-243.ip.fastwebnet.it (ocean_ieee@213.156.35.243 with plain) by smtp108.plus.mail.re1.yahoo.com with SMTP; 08 Dec 2009 04:24:47 -0800 PST X-Yahoo-SMTP: SYX_4.SswBCj2Fjsw.Apnvidq06mcRQ- X-YMail-OSG: zvRqKygVM1kXMKW6u_ocycKcV7P4Q.5_AY.txVj57AW_1uT3Qm71KcGH7nHi.ryVSPIkgNr9hpkBr4ybaFiw1Dsk5E.m22i1jkbp5Hv_dkQPP_GklvP6aFnPp5EdI_J9ZR1OA4PKBfrdNP0SbkXIkKuN78dfKgu03Sxr91glhMe_ej1NTOT9GijlIvSalJfuFle8rD8aoNws6hvZ_VqDBbpYhvPgUq7krpm7ePk5ptueb1bp9YIsrqxY6wD26SzqdgUK2hfeO4xfUTjAKdnLa2DasgIMTiUJbZ6pTiMPlvlMMz7hM9HgOjiDqYZrgedFJnsAjdoef3zKEENqOyHm5r2SS1ZnGRwFYrRXYf4TdSvewETJEsqpLRR6ErhIRZ18LD4zJqRvMqf1UlCTLvisTLEE0_tS5zuz__d.azQnvt3WtQQrKNSKIhKyNmu.PJHcYUShjI3FTjAnw3PPJJUrX1uKFuIkbsga1oQyOtjcdqLR_ClMxg-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4B1E4557.40603@yahoo.it> Date: Tue, 08 Dec 2009 13:23:51 +0100 From: ocean User-Agent: Thunderbird 2.0.0.23 (X11/20091130) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: keeping system base update and problems with CPUTYPE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 12:51:28 -0000 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