[Buildroot] [PATCH 1/1] linux: arm: config endiness based on BR2 config
oferh at marvell.com
oferh at marvell.com
Tue May 17 08:47:00 UTC 2016
From: Ofer Heifetz <oferh at marvell.com>
By default linux ARM arch is implicit configured LE,
when BR2 is configured BE, modify the linux config to BE
for ARM arch.
Signed-off-by: Ofer Heifetz <oferh at marvell.com>
---
linux/linux.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux/linux.mk b/linux/linux.mk
index d88060e..71545e4 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -218,6 +218,8 @@ define LINUX_KCONFIG_FIXUP_CMDS
)
$(if $(BR2_arm)$(BR2_armeb),
$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config))
+ $(if $(BR2_armeb)$(BR2_aarch64_be),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CPU_BIG_ENDIAN,$(@D)/.config))
$(if $(BR2_TARGET_ROOTFS_CPIO),
$(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD,$(@D)/.config))
# As the kernel gets compiled before root filesystems are
--
1.9.1
More information about the buildroot
mailing list