summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-07-24 22:50:45 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-31 16:56:37 +1000
commit3603c52f02ee3ad536e4cd08ac08e9c0c4d0c7eb (patch)
treeb2f695c395558dc5213a3d48d860ebda61326080 /arch
parentf74c89bd80fb3f1328fdf4a44eeba793cdce4222 (diff)
downloadlinux-3603c52f02ee3ad536e4cd08ac08e9c0c4d0c7eb.tar.bz2
powerpc/configs: Add a powernv_be_defconfig
Although pretty much everyone using powernv is running little endian, we should still test we can build for big endian. So add a powernv_be_defconfig, which is autogenerated by flipping the endian symbol in powernv_defconfig. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Makefile4
-rw-r--r--arch/powerpc/configs/be.config1
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 8d4ed73d5490..7b8eddfc46d2 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -316,6 +316,10 @@ PHONY += ppc64le_defconfig
ppc64le_defconfig:
$(call merge_into_defconfig,ppc64_defconfig,le)
+PHONY += powernv_be_defconfig
+powernv_be_defconfig:
+ $(call merge_into_defconfig,powernv_defconfig,be)
+
PHONY += mpc85xx_defconfig
mpc85xx_defconfig:
$(call merge_into_defconfig,mpc85xx_basic_defconfig,\
diff --git a/arch/powerpc/configs/be.config b/arch/powerpc/configs/be.config
new file mode 100644
index 000000000000..c5cdc99a6530
--- /dev/null
+++ b/arch/powerpc/configs/be.config
@@ -0,0 +1 @@
+CONFIG_CPU_BIG_ENDIAN=y