summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJiaxun Yang <[email protected]>2024-07-17 16:07:03 +0800
committerTom Rini <[email protected]>2024-07-31 11:18:37 -0600
commit3911ff576eda8f28d221b91ec58a0bf2e0c7f67f (patch)
tree09993a6a137e8e84561b8e745dd713a1c210c4d1 /Makefile
parentcbef295441b41541a5cf7c3a6e1d6bd88b48a0ed (diff)
config: Use CONFIG_SYS_BIG_ENDIAN in code whenever possible
So CONFIG_SYS_BIG_ENDIAN is our cross architecture option for selecting machine endian, while the old CONFIG_CPU_BIG_ENDIAN is defined by Arc only. Use it whenever possible to ensure big endian code path is enabled for all possible big endian machines. Signed-off-by: Jiaxun Yang <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5b2512f369..aa791426424 100644
--- a/Makefile
+++ b/Makefile
@@ -1048,7 +1048,7 @@ endif
CHECKFLAGS += --arch=$(ARCH)
# insure the checker run with the right endianness
-CHECKFLAGS += $(if $(CONFIG_CPU_BIG_ENDIAN),-mbig-endian,-mlittle-endian)
+CHECKFLAGS += $(if $(CONFIG_SYS_BIG_ENDIAN),-mbig-endian,-mlittle-endian)
# the checker needs the correct machine size
CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32)