openwrt/target/linux/bmips
Aleksander Jan Bajkowski 9226f1e419
kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config
Endianness depends on CPU architecture. CONFIG_CPU_(BIG/LITTLE)_ENDIAN should
be enabled on target or subtarget based on SoC architecture.

Fixes warning:
$ make kernel_oldconfig CONFIG_TARGET=subtarget
...
.config:1008:warning: override: CPU_LITTLE_ENDIAN changes choice state
....

Summary:
- ARC - only the CONFIG_CPU_BIG_ENDIAN symbol is defined for this architeture.
  If it is disabled then the processor operates in LITTLE_ENDIAN mode (default),
- ARM32 - CONFIG_CPU_LITTLE_ENDIAN symbol available since kernel 5.19. This
  option should be enabled after OpenWRT moves to kernel 6.x. After refreshing
  the kernel, the symbol disappears,
- ARM64 - enabled CONFIG_CPU_LITTLE_ENDIAN,
- MIPS - enabled relevant symbols,
- POWERPC -  enabled CONFIG_CPU_BIG_ENDIAN,
- UML - Symbols are not defined for this architecture,
- X86 - always little endian. Symbols are not defined for this architecture.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-10-21 13:47:01 +02:00
..
dts bmips: convert mtd-mac-address to nvmem implementation 2021-07-19 14:51:22 +02:00
files bmips: remove linux 5.10 compatibility 2022-05-20 12:39:34 +02:00
generic bmips: add linux v5.15 support 2022-05-20 12:21:03 +02:00
image bmips: add wifi packages for supported devices 2021-03-23 20:23:47 +01:00
nand bmips: dgnd3700v2: fix network config 2022-05-23 21:05:59 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.67 2022-09-09 21:08:37 +01:00
profiles
Makefile bmips: switch to linux 5.15 2022-05-20 12:36:43 +02:00
config-5.15 kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00