summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-22 01:43:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:57 +0100
commiteb34d6650b14332f2312ab15c8c02bfaadda222c (patch)
tree8ee8ff008d780e355f6d76d49c15b45ac492aafe /meta/classes/kernel.bbclass
parentdfb55758d21145621546ac2ae49f4892f974f246 (diff)
downloadpoky-eb34d6650b14332f2312ab15c8c02bfaadda222c.tar.gz
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>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 4f57770157..b02036f9c5 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -12,7 +12,7 @@ INITRAMFS_TASK ?= ""
12INITRAMFS_IMAGE_BUNDLE ?= "" 12INITRAMFS_IMAGE_BUNDLE ?= ""
13 13
14python __anonymous () { 14python __anonymous () {
15 kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or '' 15 kerneltype = d.getVar('KERNEL_IMAGETYPE', True)
16 if kerneltype == 'uImage': 16 if kerneltype == 'uImage':
17 depends = d.getVar("DEPENDS", True) 17 depends = d.getVar("DEPENDS", True)
18 depends = "%s u-boot-mkimage-native" % depends 18 depends = "%s u-boot-mkimage-native" % depends