mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
This commit is contained in:
committed by
Martin Jansa
parent
761639b9d7
commit
efd3696e70
@@ -7,7 +7,7 @@ SUMMARY = "Initramfs image for kexecboot kernel (klibc-static binaries)"
|
||||
IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
|
||||
|
||||
python () {
|
||||
if d.getVar('TARGET_ARCH', True) == "nios2":
|
||||
if d.getVar('TARGET_ARCH') == "nios2":
|
||||
raise bb.parse.SkipPackage("'nios2' not supported arch")
|
||||
}
|
||||
|
||||
|
||||
@@ -57,4 +57,4 @@ CMDLINE_DEBUG ?= "quiet"
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
# Note: for qvga the label is currently limited to about 24 chars
|
||||
KEXECBOOT_LABEL ?= "${@d.getVar('DISTRO', True) or d.getVar('DISTRO_VERSION', True)}-${MACHINE}"
|
||||
KEXECBOOT_LABEL ?= "${@d.getVar('DISTRO') or d.getVar('DISTRO_VERSION')}-${MACHINE}"
|
||||
|
||||
@@ -36,5 +36,5 @@ deltask do_package_write_tar
|
||||
|
||||
SSTATE_SCAN_FILES = "*"
|
||||
EXTRA_STAGING_FIXMES = "MANGLEDSTAGINGDIRTARGET MANGLEDSTAGINGDIR"
|
||||
MANGLEDSTAGINGDIR = "${@d.getVar("STAGING_DIR", True).replace("/", "\\\\/").replace("-", "\\\\-")}"
|
||||
MANGLEDSTAGINGDIRTARGET = "${@d.getVar("STAGING_DIR_TARGET", True).replace("/", "\\\\/").replace("-", "\\\\-")}"
|
||||
MANGLEDSTAGINGDIR = "${@d.getVar("STAGING_DIR").replace("/", "\\\\/").replace("-", "\\\\-")}"
|
||||
MANGLEDSTAGINGDIRTARGET = "${@d.getVar("STAGING_DIR_TARGET").replace("/", "\\\\/").replace("-", "\\\\-")}"
|
||||
|
||||
Reference in New Issue
Block a user