Add vmlinuz support in Kernel binary format for MIPS.
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ccd96a3559
commit
c1485d51e8
@ -148,6 +148,10 @@ config BR2_LINUX_KERNEL_VMLINUX
|
||||
bool "vmlinux"
|
||||
depends on BR2_mips || BR2_mipsel || BR2_powerpc
|
||||
|
||||
config BR2_LINUX_KERNEL_VMLINUZ
|
||||
bool "vmlinuz"
|
||||
depends on BR2_mips || BR2_mipsel
|
||||
|
||||
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
||||
bool "custom target"
|
||||
help
|
||||
|
@ -65,6 +65,8 @@ else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y)
|
||||
LINUX_IMAGE_NAME=vmlinux.bin
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
|
||||
LINUX_IMAGE_NAME=vmlinux
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
|
||||
LINUX_IMAGE_NAME=vmlinuz
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -82,6 +84,8 @@ endif
|
||||
|
||||
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 ($(KERNEL_ARCH),avr32)
|
||||
LINUX_IMAGE_PATH=$(KERNEL_ARCH_PATH)/boot/images/$(LINUX_IMAGE_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user