summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')]}"