Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2024 21:04:06 +0100
From:      Sad Clouds <cryintothebluesky@gmail.com>
To:        Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= <des@FreeBSD.org>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Reusing previous object files after modifying src.conf
Message-ID:  <20240909210406.334229cee90b9718e0372fec@gmail.com>
In-Reply-To: <86bk0w24ek.fsf@ltc.des.dev>
References:  <20240908104235.2a4cd4ad0ff014f6366cb273@gmail.com> <86bk0w24ek.fsf@ltc.des.dev>

index | next in thread | previous in thread | raw e-mail

On Mon, 09 Sep 2024 18:11:31 +0200
Dag-Erling Smørgrav <des@FreeBSD.org> wrote:

> Sad Clouds <cryintothebluesky@gmail.com> writes:
> > Does anyone know if it is safe to reuse previous object files when
> > building FreeBSD from source and then modifying src.conf?
> 
> Short answer: no.
> 
> Long answer: It depends on what you change.  If you just add, remove, or
> change comments or blank lines, then sure.  If you add, remove, or
> change build options, then it depends on the option.  Most of them just
> add or remove files, but some add or remove compile-time flags, and make
> won't know which files need rebuilding.  Unless you know exactly what
> you're doing and are ready to deal with the consequences, you're better
> off running cleanworld after changing src.conf.
> 
> DES
> -- 
> Dag-Erling Smørgrav - des@FreeBSD.org

Hello, thanks for the in depth explanation. I will just clean all object
files each time and build different variants of FreeBSD release with
different src.conf settings.


home | help

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