openwrt/target/linux
Robert Marko dbb6698721 kernel: fix x86 compilation on macOS
Trying to compile x86 or x86_64 on macOS will fail with:
openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.36/tools/include/linux/rbtree.h:21:10: fatal error: 'linux/stddef.h' file not found

After some digging, it seems that we dropped the old 212-tools_portability
patch when 6.6 x86 support was added, then Felix added back some parts of
it in ("kernel: fix tools build breakage on macos with x86") but trying to
build x86 kernels will still fail.

So, lets add more of the required changes from the 212-tools_portability
patch so that x86 kernels build on macOS.

Fixes: 69b145188f ("generic: 6.6: Removal of tools_portability.patch already included in kernel 6.6")
Link: https://github.com/openwrt/openwrt/pull/15904
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-07-08 12:43:50 +02:00
..
airoha
apm821xx
archs38
armsr kernel: bump 6.1 to 6.1.97 2024-07-08 00:01:30 +02:00
at91
ath79 ath79: suppress GPIO static base allocation warning 2024-07-04 19:30:37 +02:00
bcm27xx bcm27xx: update to latest RPi patches 2024-07-05 10:05:58 +02:00
bcm47xx bcm47xx: drop 6.1 support 2024-07-04 19:32:50 +02:00
bcm53xx kernel: bump 6.1 to 6.1.95 2024-06-23 16:33:41 +02:00
bcm4908
bmips kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
d1
gemini
generic kernel: fix x86 compilation on macOS 2024-07-08 12:43:50 +02:00
imx
ipq40xx ipq40xx: add BDFs for Linksys WHW03 V1 2024-07-04 19:14:20 +02:00
ipq806x ipq806x: 6.6: enable at803x driver 2024-06-27 17:11:40 +02:00
ixp4xx
kirkwood
lantiq lantiq: replace gswip patches with upstream version 2024-07-06 17:50:24 +02:00
layerscape treewide: refresh patches 2024-06-24 09:46:19 +02:00
loongarch64
malta malta: enable VM targets again 2024-06-30 22:00:03 +02:00
mediatek mediatek: fit: fix use of uninitialized variable 2024-07-07 20:59:48 +08:00
mpc85xx
mvebu kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
mxs
octeon
omap
pistachio pistachio: Fix setting mtd name 2024-07-01 00:46:16 +02:00
qoriq
qualcommax qualcommax: fix RAX120v2 PWM Fan controller wrong definition 2024-06-25 12:52:44 +02:00
ramips ramips: gpio: convert to the generic GPIO driver 2024-07-04 22:20:47 +02:00
realtek
rockchip uboot-rockchip: use u-boot-rockchip.bin 2024-07-04 19:26:00 +02:00
sifiveu
starfive kernel: bump 6.1 to 6.1.96 2024-07-04 22:02:47 +02:00
sunxi
tegra
uml
x86
zynq
Makefile