diff options
| author | André Draszik <adraszik@tycoint.com> | 2017-10-06 13:12:57 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:39:47 +0000 |
| commit | 47d26eef5212f7c11ea317c733ee221459ece41a (patch) | |
| tree | 6490dbb76b14930319cc055e359de3ce767376ff /meta/classes | |
| parent | 431cb7213859a3dc17e5c099d171c6b13c59e426 (diff) | |
| download | poky-47d26eef5212f7c11ea317c733ee221459ece41a.tar.gz | |
kernel-fitimage: support MIPS (compressed)
On MIPS, the compressed kernel image target is vmlinuz.bin
(From OE-Core rev: ed459bc971697fdd46e5204f625cde7afcdef6eb)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 74d97569aa4e0f82e094a539dec302076103affa)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -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" |
