Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] conditional patch-tool dep
@ 2010-12-21 17:19 Bernhard Reutner-Fischer
  2010-12-21 17:19 ` [PATCH] patch.bbclass: conditional patch-tool dependency Bernhard Reutner-Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Reutner-Fischer @ 2010-12-21 17:19 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-05 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 17:19 [PATCH] conditional patch-tool dep Bernhard Reutner-Fischer
2010-12-21 17:19 ` [PATCH] patch.bbclass: conditional patch-tool dependency Bernhard Reutner-Fischer
2011-01-03 19:54   ` Bernhard Reutner-Fischer
2011-01-05 12:39   ` Leon Woestenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox