linux: Add zImage.epapr target
diff mbox

Message ID 1446123125-9192-1-git-send-email-joel@jms.id.au
State Accepted
Headers show

Commit Message

Joel Stanley Oct. 29, 2015, 12:52 p.m. UTC
From: Jeremy Kerr <jk@ozlabs.org>

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 linux/Config.in | 4 ++++
 linux/linux.mk  | 2 ++
 2 files changed, 6 insertions(+)

Patch
diff mbox

diff --git a/linux/Config.in b/linux/Config.in
index 1f52033..8a66866 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -205,6 +205,10 @@  config BR2_LINUX_KERNEL_ZIMAGE
 		   BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \
 		   BR2_sh || BR2_sh64 || BR2_xtensa
 
+config BR2_LINUX_KERNEL_ZIMAGE_EPAPR
+	bool "zImage.epapr"
+	depends on BR2_powerpc64 || BR2_powerpc64le
+
 config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
 	bool "zImage with appended DT"
 	depends on BR2_arm || BR2_armeb
diff --git a/linux/linux.mk b/linux/linux.mk
index 6c7ecfc..9507837 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -105,6 +105,8 @@  else ifeq ($(BR2_LINUX_KERNEL_BZIMAGE),y)
 LINUX_IMAGE_NAME = bzImage
 else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE),y)
 LINUX_IMAGE_NAME = zImage
+else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE_EPAPR),y)
+LINUX_IMAGE_NAME = zImage.epapr
 else ifeq ($(BR2_LINUX_KERNEL_APPENDED_ZIMAGE),y)
 LINUX_IMAGE_NAME = zImage
 else ifeq ($(BR2_LINUX_KERNEL_CUIMAGE),y)