kernel-uimage.bbclass: indeed update var KERNEL_IMAGETYPE_FOR_MAKE
The replace() method of the python string class doesn't replace in-place, then the var KERNEL_IMAGETYPE_FOR_MAKE doesn't be updated as design. (From OE-Core rev: 392fc3cd276d5029314c7158245bc65dd82279cd) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7178f0732d
commit
4858c6b728
|
@ -14,8 +14,7 @@ python __anonymous () {
|
|||
if d.getVar("KEEPUIMAGE", True) != 'yes':
|
||||
typeformake = d.getVar("KERNEL_IMAGETYPE_FOR_MAKE", True) or ""
|
||||
if "uImage" in typeformake.split():
|
||||
typeformake.replace('uImage', 'vmlinux')
|
||||
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake)
|
||||
d.setVar('KERNEL_IMAGETYPE_FOR_MAKE', typeformake.replace('uImage', 'vmlinux'))
|
||||
}
|
||||
|
||||
do_uboot_mkimage() {
|
||||
|
|
Loading…
Reference in New Issue