From c1485d51e8d66c0608935135ef41f5c5deabc587 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Tue, 20 Sep 2011 17:01:26 +0800 Subject: [PATCH] Add vmlinuz support in Kernel binary format for MIPS. Signed-off-by: Kelvin Cheung Acked-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- linux/Config.in | 4 ++++ linux/linux.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/linux/Config.in b/linux/Config.in index 469fd7ca9a..0082ca88de 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -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 diff --git a/linux/linux.mk b/linux/linux.mk index 6b6fd5c4ae..9beb706453 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -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) -- 2.30.2