1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-21 03:31:42 +02:00
openwrt/target/linux/bcm27xx
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
..
base-files bcm27xx: add support for Raspberry Pi Zero 2 2022-07-01 12:56:56 +03:00
bcm2708 kernel: remove target specific CONFIG_IKCONFIG lines 2022-10-14 13:15:47 +02:00
bcm2709 kernel: remove target specific CONFIG_IKCONFIG lines 2022-10-14 13:15:47 +02:00
bcm2710 kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
bcm2711 kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
image bcm27xx: add support for Raspberry Pi Zero 2 2022-07-01 12:56:56 +03:00
modules bcm27xx: add pwm-fan dependency to RPi PoE 2022-05-22 22:06:13 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.72 2022-10-09 22:26:16 +02:00
Makefile bcm27xx: switch to 5.15 2022-05-17 15:11:23 +02:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00