summaryrefslogtreecommitdiff
path: root/classes/patcher.bbclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-01-26 12:13:59 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-01-26 12:13:59 +0000
commit17b6b41e58b03032a010f5f262fe3320019daa61 (patch)
tree32b12b1784aa81d61be58409d7e855610bc8f6fe /classes/patcher.bbclass
parent142aee8f685df6413b488949bf1367dd67cf73d9 (diff)
patcher.bbclass: work around a recursive dependency
BKrev: 41f78987-3weNW_VFpmfuy4h8tK7-A
Diffstat (limited to 'classes/patcher.bbclass')
-rw-r--r--classes/patcher.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/patcher.bbclass b/classes/patcher.bbclass
index e69de29bb2..c8a1b0350f 100644
--- a/classes/patcher.bbclass
+++ b/classes/patcher.bbclass
@@ -0,0 +1,7 @@
+# Now that BitBake/OpenEmbedded uses Quilt by default, you can simply add an
+# inherit patcher
+# to one of your config files to let BB/OE use patcher again.
+
+PATCHCLEANCMD = "patcher -B"
+PATCHCMD = "patcher -R -p '%s' -n '%s' -i '%s'"
+PATCH_DEPENDS = "${@["patcher-native", ""][(bb.data.getVar('PN', d, 1) == 'patcher-native')]}"