From owner-freebsd-current@freebsd.org Thu Apr 7 21:00:20 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36B27B072A9 for ; Thu, 7 Apr 2016 21:00:20 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [IPv6:2a01:e0c:1:1599::15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03DE91890 for ; Thu, 7 Apr 2016 21:00:20 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-lf0-f54.google.com (unknown [209.85.215.54]) (Authenticated sender: gugus69) by smtp6-g21.free.fr (Postfix) with ESMTPSA id C3484822E0 for ; Thu, 7 Apr 2016 22:56:09 +0200 (CEST) Received: by mail-lf0-f54.google.com with SMTP id j11so65721773lfb.1 for ; Thu, 07 Apr 2016 14:00:16 -0700 (PDT) X-Gm-Message-State: AD7BkJI84hqb74dmvTmizzzGAIJkrBcFw71cgwgj5sDewEYfox7OfRPjMjFjFZQenSIxup6st+kRaZH6JNJrPA== X-Received: by 10.25.84.17 with SMTP id i17mr2214709lfb.136.1460062816380; Thu, 07 Apr 2016 14:00:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.166.138 with HTTP; Thu, 7 Apr 2016 13:59:56 -0700 (PDT) From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Thu, 7 Apr 2016 22:59:56 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Keeping OptionalObsoleteFiles.inc up to date To: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 21:00:20 -0000 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} == 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 of a build_option_survey script ? Regards, Olivier