[oe] [PATCH] conditional patch-tool dep
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Dec 21 17:19:58 UTC 2010
Hi,
If a recipe doesn't reference any patch then patching doesn't make sense
and neither does depending on patch-tool.
I didn't look yet if i can say
addtask patch after do_unpack if needs_patching_at_all(d)
(or something like that).
So, for a start, don't depend do_patch on the patch tool if there is no
patch in the SRC_URI.
untested.
PS: There should be some oe.is_compressed(uri) shorthand that is used to
decide if an uri is in a compressed format, imho.
Bernhard Reutner-Fischer (1):
patch.bbclass: conditional patch-tool dependency
classes/patch.bbclass | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
--
1.7.2.3
More information about the Openembedded-devel
mailing list