[yocto] FILES_${PN} packaging and wildcarded exclusions

Alex J Lennon ajlennon at dynamicdevices.co.uk
Tue Mar 4 02:10:13 PST 2014


Hi,

I'm trying to understand how to cleanly extend FILES${PN} to include
files that are staged and need to be packaged

If I start with something like

FILES_${PN} += " \
${libdir}/mono/gac/policy.0.2.Mono.Addins/0.0.0.0__0738eb9f132ed756/* \
${libdir}/mono/gac/policy.0.2.Mono.Addins.Setup/0.0.0.0__0738eb9f132ed756/*
\
${libdir}/mono/gac/policy.0.6.Mono.Addins.CecilReflector/0.0.0.0__0738eb9f132ed756/*
\
${libdir}/mono/gac/policy.0.6.Mono.Addins.Gui/0.0.0.0__0738eb9f132ed756/* \
<snip/>

I seem to be able to clean that up a bit to

FILES_${PN} += " \
${libdir}/mono/gac/*/*/* \
<snip/>

What I'd like to do is to be able to represent "all files excepting
files ending with .mdb", for example, as I want to add those to a
${PN}-dbg package.

I was wondering if there's a syntax I can use within FILES_${PN} to
achieve that cleanly?

Thanks,

Alex





More information about the yocto mailing list