Set CONFIG_BUILD_ELF64 for defconfigs where CONFIG_64BIT is set
PATCH 1/1 Set CONFIG_BUILD_ELF64 for defconfigs where CONFIG_64BIT is set
Modern toolchain requires you to build ELF64 objects when you build a 64-bit kernel. Therefore enable CONFIG_BUILD_ELF64 in all mips defconfig files which have CONFIG_64BIT=y.
Signed-off-by Martin Michlmayr <[email protected]>
---
ip32_defconfig | 2 +- ocelot_c_defconfig | 2 +- ocelot_g_defconfig | 2 +- sb1250-swarm_defconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/mips/configs/ip32_defconfig +1 -1
@@ -226,7 +226,7 @@ CONFIG_MMU=y # CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y -# CONFIG_BUILD_ELF64 is not set +CONFIG_BUILD_ELF64=y CONFIG_MIPS32_COMPAT=y CONFIG_COMPAT=y CONFIG_MIPS32_O32=y
arch/mips/configs/ocelot_c_defconfig +1 -1
@@ -222,7 +222,7 @@ CONFIG_MMU=y # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set -# CONFIG_BUILD_ELF64 is not set +CONFIG_BUILD_ELF64=y CONFIG_MIPS32_COMPAT=y CONFIG_COMPAT=y CONFIG_MIPS32_O32=y
arch/mips/configs/ocelot_g_defconfig +1 -1
@@ -225,7 +225,7 @@ CONFIG_MMU=y # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set -# CONFIG_BUILD_ELF64 is not set +CONFIG_BUILD_ELF64=y CONFIG_MIPS32_COMPAT=y CONFIG_COMPAT=y CONFIG_MIPS32_O32=y
arch/mips/configs/sb1250-swarm_defconfig +1 -1
@@ -249,7 +249,7 @@ CONFIG_MMU=y # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set -# CONFIG_BUILD_ELF64 is not set +CONFIG_BUILD_ELF64=y CONFIG_MIPS32_COMPAT=y CONFIG_COMPAT=y CONFIG_MIPS32_O32=y
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/