[oe-commits] [openembedded-core] 46/72: kernel-uimage.bbclass: indeed update var KERNEL_IMAGETYPE_FOR_MAKE
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 25 22:53:14 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 392fc3cd276d5029314c7158245bc65dd82279cd
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Thu Jul 21 16:52:58 2016 +0800
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.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/kernel-uimage.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass
index 2a187f5..340503a 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -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() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list