patcher.bbclass: work around a recursive dependency
authorMichael Lauer <mickey@vanille-media.de>
Wed, 26 Jan 2005 12:13:59 +0000 (12:13 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 26 Jan 2005 12:13:59 +0000 (12:13 +0000)
BKrev: 41f78987-3weNW_VFpmfuy4h8tK7-A

classes/patcher.bbclass

index e69de29..c8a1b03 100644 (file)
@@ -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')]}"