linux: add support for vmlinuz.bin kernel image format
Linux for MIPS supports raw binary zboot image (vmlinuz.bin). Add it to the "Kernel binary format" list. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5a5e713264
commit
e9d2d02402
@ -249,6 +249,10 @@ config BR2_LINUX_KERNEL_VMLINUZ
|
||||
bool "vmlinuz"
|
||||
depends on BR2_mips || BR2_mipsel
|
||||
|
||||
config BR2_LINUX_KERNEL_VMLINUZ_BIN
|
||||
bool "vmlinuz.bin"
|
||||
depends on BR2_mips || BR2_mipsel
|
||||
|
||||
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
||||
bool "custom target"
|
||||
help
|
||||
|
@ -139,6 +139,8 @@ else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
|
||||
LINUX_IMAGE_NAME = vmlinux
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
|
||||
LINUX_IMAGE_NAME = vmlinuz
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y)
|
||||
LINUX_IMAGE_NAME = vmlinuz.bin
|
||||
endif
|
||||
# The if-else blocks above are all the image types we know of, and all
|
||||
# come from a Kconfig choice, so we know we have LINUX_IMAGE_NAME set
|
||||
@ -167,6 +169,8 @@ ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
|
||||
LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
|
||||
LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y)
|
||||
LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME)
|
||||
else
|
||||
LINUX_IMAGE_PATH = $(KERNEL_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME)
|
||||
endif # BR2_LINUX_KERNEL_VMLINUX
|
||||
|
Loading…
Reference in New Issue
Block a user