From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 23 Jul 2017 11:12:30 +0200 Subject: [Buildroot] [PATCH 02/20] core/pkg-generic: add variable to skip skeleton dependency In-Reply-To: (Arnout Vandecappelle's message of "Sat, 22 Jul 2017 14:27:01 +0200") References: <85a6c3a598a517fd0fad2cba0b7c42d746c7830e.1500398733.git.yann.morin.1998@free.fr> Message-ID: <871sp7pldt.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Arnout" == Arnout Vandecappelle writes: >> Instead of checking for all the skeleton-providing packages in the core >> infra, add a new package options so that packages can express they do >> not need the dependency on the skeleton, like we have an option to avoid >> the depednency on the toolchain. The only packages that will use that >> option are probably the skeletons, so we need not document this >> variable, like we did not document the option to exclude the dependency >> on the toolchain. >> >> Signed-off-by: "Yann E. MORIN" >> Reviewed-by: Romain Naour > I absolutely hate adding additional variables that are used for only a few > packages, but I have no better ideas, so An alternative could be to enforce a naming convention for these packages, E.G. skeleton-*, and then use $(filter skeleton%,$(1)) in the check, but I'm not sure that really is much nicer. -- Bye, Peter Korsgaard