linux: Add new image formats for PowerPC and Microblaze
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 30 Jul 2012 12:32:48 +0000 (14:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 31 Jul 2012 21:08:28 +0000 (23:08 +0200)
Add the following Linux kernel image formats:

 * cuImage(powerpc)
 * simpleImage(microblaze)
 * linux.bin(microblaze)

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/Config.in
linux/linux.mk

index 553aa3973558b6872eeda5c3671a0298887c2f2c..9bd88e119533c78d042ba9b1f4957c1ca96463d1 100644 (file)
@@ -161,6 +161,27 @@ config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
        select BR2_LINUX_KERNEL_DTS_SUPPORT
        select BR2_LINUX_KERNEL_APPENDED_DTB
 
+config BR2_LINUX_KERNEL_CUIMAGE
+       bool "cuImage"
+       depends on BR2_powerpc
+       select BR2_LINUX_KERNEL_UBOOT_IMAGE
+       select BR2_LINUX_KERNEL_DTS_SUPPORT
+       select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
+
+config BR2_LINUX_KERNEL_SIMPLEIMAGE
+       bool "simpleImage"
+       depends on BR2_microblaze
+       select BR2_LINUX_KERNEL_UBOOT_IMAGE
+       select BR2_LINUX_KERNEL_DTS_SUPPORT
+       select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
+
+config BR2_LINUX_KERNEL_LINUX_BIN
+       bool "linux.bin"
+       depends on BR2_microblaze
+       select BR2_LINUX_KERNEL_UBOOT_IMAGE
+       select BR2_LINUX_KERNEL_DTS_SUPPORT
+       select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
+
 config BR2_LINUX_KERNEL_VMLINUX_BIN
        bool "vmlinux.bin"
        depends on BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64
index d466228f2e3c4d3e1a9562901be29f6d4b0d49b1..5365d5fd1b3e2d4e9dca7e9f58aa0ebf377780d9 100644 (file)
@@ -83,6 +83,12 @@ else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE),y)
 LINUX_IMAGE_NAME=zImage
 else ifeq ($(BR2_LINUX_KERNEL_APPENDED_ZIMAGE),y)
 LINUX_IMAGE_NAME=zImage
+else ifeq ($(BR2_LINUX_KERNEL_CUIMAGE),y)
+LINUX_IMAGE_NAME=cuImage.$(KERNEL_DTS_NAME)
+else ifeq ($(BR2_LINUX_KERNEL_SIMPLEIMAGE),y)
+LINUX_IMAGE_NAME=simpleImage.$(KERNEL_DTS_NAME)
+else ifeq ($(BR2_LINUX_KERNEL_LINUX_BIN),y)
+LINUX_IMAGE_NAME=linux.bin
 else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y)
 LINUX_IMAGE_NAME=vmlinux.bin
 else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)