mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
kernel: drop unnecessary True options from calls to getVar
The older style calls (plus a bashism in kernel.bbclass, fixed separately) were introduced via the recent change to add support for multiple kernel packages: http://git.openembedded.org/openembedded-core/commit/?id=6c8c899849d101fd1b86aad0b8eed05c7c785924 (From OE-Core rev: e660ef68de3b3891a26ed6e10d96dc4efaf03ffc) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1b96585b92
commit
f2d7b5b2ee
@@ -30,7 +30,7 @@ do_install_append() {
|
||||
|
||||
PACKAGESPLITFUNCS_prepend = "split_kernel_module_packages "
|
||||
|
||||
KERNEL_MODULES_META_PACKAGE ?= "${@ d.getVar("KERNEL_PACKAGE_NAME", True) or "kernel" }-modules"
|
||||
KERNEL_MODULES_META_PACKAGE ?= "${@ d.getVar("KERNEL_PACKAGE_NAME") or "kernel" }-modules"
|
||||
|
||||
KERNEL_MODULE_PACKAGE_PREFIX ?= ""
|
||||
KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${KERNEL_VERSION}"
|
||||
@@ -129,8 +129,8 @@ python split_kernel_module_packages () {
|
||||
postfix = format.split('%s')[1]
|
||||
d.setVar('RPROVIDES_' + pkg, pkg.replace(postfix, ''))
|
||||
|
||||
kernel_package_name = d.getVar("KERNEL_PACKAGE_NAME", True) or "kernel"
|
||||
kernel_version = d.getVar("KERNEL_VERSION", True)
|
||||
kernel_package_name = d.getVar("KERNEL_PACKAGE_NAME") or "kernel"
|
||||
kernel_version = d.getVar("KERNEL_VERSION")
|
||||
|
||||
module_regex = '^(.*)\.k?o$'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user