diff options
author | André Draszik <adraszik@tycoint.com> | 2017-09-20 10:41:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-25 14:14:17 +0100 |
commit | 4c87270fee36d7f78a45ce9ed86d3eb0d4ec4c91 (patch) | |
tree | 675b69557e05fd88589d65379dbce92bbf90ba7f /meta/classes/kernel-fitimage.bbclass | |
parent | 0dff25481fb1f222d32e155dd17f7b27d9de6a56 (diff) | |
download | poky-4c87270fee36d7f78a45ce9ed86d3eb0d4ec4c91.tar.gz |
kernel-fitimage: support MIPS (compressed)
On MIPS, the compressed kernel image target is vmlinuz.bin
(From OE-Core rev: 74d97569aa4e0f82e094a539dec302076103affa)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 5583b4472e..179185b6b2 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -7,7 +7,9 @@ python __anonymous () { | |||
7 | depends = "%s u-boot-mkimage-native dtc-native" % depends | 7 | depends = "%s u-boot-mkimage-native dtc-native" % depends |
8 | d.setVar("DEPENDS", depends) | 8 | d.setVar("DEPENDS", depends) |
9 | 9 | ||
10 | if d.getVar("UBOOT_ARCH") == "x86": | 10 | if d.getVar("UBOOT_ARCH") == "mips": |
11 | replacementtype = "vmlinuz.bin" | ||
12 | elif d.getVar("UBOOT_ARCH") == "x86": | ||
11 | replacementtype = "bzImage" | 13 | replacementtype = "bzImage" |
12 | else: | 14 | else: |
13 | replacementtype = "zImage" | 15 | replacementtype = "zImage" |