aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass1
-rw-r--r--classes/image.bbclass3
-rw-r--r--classes/patch.bbclass5
3 files changed, 9 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 093f815bae..35fa51262f 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -88,6 +88,7 @@ DEPENDS_virtclass-nativesdk_prepend="${@base_deps(d)} "
SCENEFUNCS += "base_scenefunction"
+SCENEFUNCS[type] = "list"
python base_scenefunction () {
stamp = bb.data.getVar('STAMP', d, 1) + ".needclean"
diff --git a/classes/image.bbclass b/classes/image.bbclass
index d98ba5cbba..7c1f3e1df2 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -31,6 +31,7 @@ IMAGE_BOOT ?= "${IMAGE_INITSCRIPTS} \
# some default locales
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
+IMAGE_LINGUAS[type] = "list"
LINGUAS_INSTALL = ""
LINGUAS_INSTALL_linux = "${@base_ifelse(d.getVar('IMAGE_LINGUAS', True), \
@@ -44,6 +45,7 @@ RDEPENDS += "${@' '.join(oe.packagegroup.active_packages('${IMAGE_FEATURES}'.spl
IMAGE_FEATURES ?= ""
+IMAGE_FEATURES[type] = "list"
IMAGE_FEATURES_prepend = "image_base "
# Define our always included package group
@@ -85,6 +87,7 @@ do_rootfs[recrdeptask] += "do_deploy do_populate_sysroot"
EXCLUDE_FROM_WORLD = "1"
USE_DEVFS ?= "0"
+USE_DEVFS[type] = "boolean"
PID = "${@os.getpid()}"
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