From owner-freebsd-hackers Sat Jun 23 14: 3:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 2D04A37B401; Sat, 23 Jun 2001 14:03:40 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.140.184.Dial1.SanJose1.Level3.net [209.247.140.184]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id OAA19879; Sat, 23 Jun 2001 14:03:20 -0700 (PDT) Message-ID: <3B350439.31AC9991@mindspring.com> Date: Sat, 23 Jun 2001 14:03:53 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Pentchev Cc: Valentin Nechayev , John Baldwin , hackers@FreeBSD.ORG Subject: Re: Two Junior Kernel Hacker tasks.. References: <20010623081844.B982@iv.nn.kiev.ua> <3B34ECB7.CF7F4047@mindspring.com> <20010623225526.A564@ringworld.oblivion.bg> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Pentchev wrote: > Terry, this is simply not true. Even in -stable, config(8) > is smart enough to try reading the opt_*.h files, and not > change them if they already contain the values it is about > to write there. Rerunning config and make depend always result in more things being recompiled for me, than just me typing "make". The "buildkernel" target also can not handle all of the intricacies of all the parameters that you might want to pass to "config": things are lost. It's not a reasonable workaround to the problem under discussion (building multiple kernels for multiple architectures using one tree). Example: All my PPC based NetBSD systems run different kernel configurations, specific to the machine (not processor) architecture. But everything other than the kernel and modules should be shared, since all the systems kernels present the same ABI to user space. Rebuilding everything is not a reasonable option. > [root@ringworld:v1 /usr/src]# LANG=C ls -lt /usr/obj/usr/src/sys/RINGWORLD/opt_*.h | head -2 > -rw-r--r-- 1 root wheel 0 Jun 11 23:35 /usr/obj/usr/src/sys/RINGWORLD/opt_aac.h > -rw-r--r-- 1 root wheel 0 Jun 11 23:35 /usr/obj/usr/src/sys/RINGWORLD/opt_wavelan.h > [root@ringworld:v1 /usr/src]# > > As you can see, the two most recent files date back to June 11th... Next time, include the other things like param.c and so on, created by config. I want to avoid _all_ unnecessary rebuilds. (Technically, the vers.c rebuild is unnecessary, too, since nothing is supposed to have changes, so vers.c should not have been rewritten -- but that's another discussion... 8-)). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message