aboutsummaryrefslogtreecommitdiffstats
path: root/classes/patch.bbclass
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-09 15:49:33 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2011-04-22 19:41:12 +0200
commit4d41374dd0945d227ecd37d6459f750144ba8daa (patch)
treec576abb16b8c3bd04bfb2c8fc448728d3084c48b /classes/patch.bbclass
parent83235596304c83db7f8e2905f412935590d3af30 (diff)
downloadopenembedded-4d41374dd0945d227ecd37d6459f750144ba8daa.tar.gz
Add flags for variable typing
Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes/patch.bbclass')
-rw-r--r--classes/patch.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/patch.bbclass b/classes/patch.bbclass
index 7629e9a15a..bc52ae7e16 100644
--- a/classes/patch.bbclass
+++ b/classes/patch.bbclass
@@ -5,6 +5,11 @@ QUILTRCFILE ?= "${STAGING_BINDIR_NATIVE}/quiltrc"
PATCHDEPENDENCY = "${PATCHTOOL}-native:do_populate_sysroot"
+PATCHTOOL[type] = "choice"
+PATCHTOOL[choices] = "patch quilt git"
+PATCHRESOLVE[type] = "choice"
+PATCHRESOLVE[choices] = "noop user"
+
python patch_do_patch() {
import oe.patch
import oe.unpack