Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 15:14:08 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, Dmitry Marakasov <amdmi3@freebsd.org>
Subject:   Re: Keeping OptionalObsoleteFiles.inc up to date
Message-ID:  <CAGHfRMB%2BHy72P=-63NhE64yxqQ0DROkfMSvZKo=sYTZWE500Cg@mail.gmail.com>
In-Reply-To: <CA%2Bq%2BTcoZCsEFJX%2BMz-f4_yz2mp%2BPKxtC8P4PkYRtnJ0586n=Qw@mail.gmail.com>
References:  <CA%2Bq%2BTcoZCsEFJX%2BMz-f4_yz2mp%2BPKxtC8P4PkYRtnJ0586n=Qw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 7, 2016 at 1:59 PM, Olivier Cochard-Labb=C3=A9
<olivier@freebsd.org> wrote:
> Hi,
>
> I'm trying to use "make delete-old" specifying WITHOUT_ keyword for
> removing some no-more used set of files.
>
> I've start by testing WITHOUT_TOOLCHAIN:
> - Some of files related to clang are correctly delete
> - But there are still lot's of others (like /usr/bin/cc)
>
> Then I've checked tools/build/mk/OptionalObsoleteFiles.in and found that
> lot's files are missing in the ".if ${MK_TOOLCHAIN} =3D=3D no" section.
>
> I've started a new run of phk's build_options_survey script:
> https://people.freebsd.org/~olivier/build_option_survey_20160406/
>
> And wonder if it's possible to automatically generate the list of
> conditional files to be put in OptionalObsoleteFiles.in from the result o=
f
> a build_option_survey script ?

amdmi3 had a method for doing this, but I think it was a bit of a
brute force approach (I could be wrong).

The release-pkg project branch method seems like the best way to go
about it though because it would kind of do the sanity checking for
us...

Thanks!
-Ngie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMB%2BHy72P=-63NhE64yxqQ0DROkfMSvZKo=sYTZWE500Cg>