[OE-core] [PATCH] bin_package: fail if ${S} doesn't actually contain anything

Christopher Larson kergoth at gmail.com
Wed Nov 22 15:21:07 UTC 2017


On Tue, Nov 21, 2017 at 4:53 PM, Ross Burton <ross.burton at intel.com> wrote:

> If the user is trying to use bin_package but the SRC_URI hasn't extracted
> anything into ${S}, which is easily done when writing a recipe by hand,
> instead
> of silently shippping an empty package abort the build.
>

I was thinking about this the other day, as it’s a long standing annoyance,
I think we should add a new pwd or cwd flag which is used in preference to
the last entry in `dirs` if it’s set, and which errors if the dir doesn’t
exist and isn’t listed in `dirs`, then drop `${S}` from dirs. Thoughts?
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171122/4e968175/attachment-0002.html>


More information about the Openembedded-core mailing list