From: Yegor Yefremov Date: Tue, 15 Dec 2015 07:34:06 +0000 (+0100) Subject: linux: add support for vmlinuz.bin kernel image format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9d2d02402ee0737739fc878f0bb30a587c37c09;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/linux/Config.in b/linux/Config.in index 2704ab63e1..8faf1c8462 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -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 diff --git a/linux/linux.mk b/linux/linux.mk index dd2cc49617..f95bc58371 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -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