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>
This commit is contained in:
parent
431cb72138
commit
47d26eef52
|
@ -7,7 +7,9 @@ python __anonymous () {
|
||||||
depends = "%s u-boot-mkimage-native dtc-native" % depends
|
depends = "%s u-boot-mkimage-native dtc-native" % depends
|
||||||
d.setVar("DEPENDS", depends)
|
d.setVar("DEPENDS", depends)
|
||||||
|
|
||||||
if d.getVar("UBOOT_ARCH") == "x86":
|
if d.getVar("UBOOT_ARCH") == "mips":
|
||||||
|
replacementtype = "vmlinuz.bin"
|
||||||
|
elif d.getVar("UBOOT_ARCH") == "x86":
|
||||||
replacementtype = "bzImage"
|
replacementtype = "bzImage"
|
||||||
else:
|
else:
|
||||||
replacementtype = "zImage"
|
replacementtype = "zImage"
|
||||||
|
|
Loading…
Reference in New Issue