mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
sanity.bbclass/kernel.bbclass: minor fixes
Fixed: - Remove an unused line - Remove unneeded code after d.getVar(), we don't need the "or ''" after d.getVar() unless we need a string. - typo: PREMIRROS -> PREMIRRORS. (From OE-Core rev: 7849e50107a27b0ff2aaac47480ac1a0a79533dc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dfb55758d2
commit
eb34d6650b
@@ -12,7 +12,7 @@ INITRAMFS_TASK ?= ""
|
||||
INITRAMFS_IMAGE_BUNDLE ?= ""
|
||||
|
||||
python __anonymous () {
|
||||
kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or ''
|
||||
kerneltype = d.getVar('KERNEL_IMAGETYPE', True)
|
||||
if kerneltype == 'uImage':
|
||||
depends = d.getVar("DEPENDS", True)
|
||||
depends = "%s u-boot-mkimage-native" % depends
|
||||
|
||||
Reference in New Issue
Block a user