[Buildroot] [PATCH 02/20] core/pkg-generic: add variable to skip skeleton dependency

Peter Korsgaard peter at korsgaard.com
Sun Jul 23 09:12:30 UTC 2017


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> 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" <yann.morin.1998 at free.fr>
 >> Reviewed-by: Romain Naour <romain.naour at gmail.com>

 >  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



More information about the buildroot mailing list