diff options
| author | Jiaxun Yang <[email protected]> | 2024-07-17 16:07:03 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-31 11:18:37 -0600 |
| commit | 3911ff576eda8f28d221b91ec58a0bf2e0c7f67f (patch) | |
| tree | 09993a6a137e8e84561b8e745dd713a1c210c4d1 /Makefile | |
| parent | cbef295441b41541a5cf7c3a6e1d6bd88b48a0ed (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
