lede/target/linux
Robert Marko e725c6198c 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: 69b145188f1a ("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-18 13:12:11 +08:00
..
airoha kernel: bump 5.15 to 5.15.138 (#11658) 2023-11-13 17:47:28 +08:00
amlogic kernel: bump 5.15 to 5.15.159 (#12166) 2024-05-18 06:30:07 +08:00
apm821xx kernel: bump 5.10 to 5.10.213 (#12006) 2024-03-17 15:25:09 +08:00
arc770 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
archs38 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
armvirt kernel: bump 5.15 to 5.15.162 (#12317) 2024-07-08 14:57:44 +08:00
at91 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ath25 kernel: bump 5.4 to 5.4.252 (#11436) 2023-08-09 16:25:17 +08:00
ath79 kernel: bump 5.15 to 5.15.162 (#12317) 2024-07-08 14:57:44 +08:00
bcm27xx kernel: bump 6.1 to 6.1.97 (#12312) 2024-07-07 17:11:09 +08:00
bcm47xx kernel: bump 5.4 to 5.4.275 2024-05-07 09:44:13 +08:00
bcm53xx kernel: bump 5.10 to 5.10.213 (#12006) 2024-03-17 15:25:09 +08:00
bcm63xx kernel: bump 5.10 to 5.10.209 (#11833) 2024-01-27 08:00:35 +08:00
bcm4908 kernel: bump 5.4 to 5.4.272 (#12007) 2024-03-17 15:30:06 +08:00
bmips kernel: bump 5.15 to 5.15.162 (#12317) 2024-07-08 14:57:44 +08:00
gemini kernel: bump 5.10 to 5.10.208 (#11815) 2024-01-23 00:20:07 +08:00
generic kernel: fix x86 compilation on macOS 2024-07-18 13:12:11 +08:00
imx target: imx6 rename to imx 2022-01-05 19:08:23 +08:00
ipq40xx kernel: refresh 5.10 patches (#11719) 2023-12-18 10:25:13 +08:00
ipq95xx kernel: bump 6.1 to 6.1.83 (#12036) 2024-03-29 10:21:13 +08:00
ipq806x kernel: bump 5.10 to 5.10.216 2024-05-07 10:00:13 +08:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-09-30 21:35:47 +08:00
lantiq kernel: bump 5.10 to 5.10.215 (#12095) 2024-04-25 00:10:11 +08:00
layerscape kernel: bump 5.15 to 5.15.161 (#12243) 2024-06-16 22:41:02 +08:00
loongarch64 kernel: bump 6.6 to 6.6.13 (#11817) 2024-01-23 00:30:12 +08:00
malta x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
mediatek kernel: bump 6.1 to 6.1.98 (#15935) 2024-07-14 23:15:14 +08:00
mpc85xx kernel: bump 5.10 to 5.10.204 (#11721) 2023-12-19 10:30:35 +08:00
mvebu mvebu: add support for QNAP QHora-321/322 with commo image 2024-05-26 23:19:20 +08:00
mxs x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
octeon kernel: Set CONFIG_FRAME_WARN depending on target 2023-06-03 21:50:27 +08:00
octeontx kernel: bump 5.4 to 5.4.273 (#12050) 2024-04-04 12:00:39 +08:00
omap x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
oxnas kernel: bump 5.10 to 5.10.216 2024-05-07 10:00:13 +08:00
phytium kernel: bump 5.10 to 5.10.216 2024-05-07 10:00:13 +08:00
pistachio kernel: bump to 5.4.229, 5.10.164, 5.15.89, 6.1.7 (#10785) 2023-01-19 14:03:33 +08:00
qualcommax qualcommax: ipq60xx: fix squashfs configuration for emmc image 2024-07-08 10:25:16 +08:00
ramips kernel: bump 5.4 to 5.4.278 (#12247) 2024-06-17 12:30:01 +08:00
realtek kernel: bump 5.4 to 5.4.252 (#11436) 2023-08-09 16:25:17 +08:00
rockchip rockchip: fix sata support for rk3568 2024-07-11 22:20:06 +08:00
sifiveu kernel: bump 5.15 to 5.15.153 (#12048) 2024-04-04 15:00:40 +08:00
silicon silicon: fix kernel target 2022-12-14 18:35:35 +08:00
sunxi sunxi: backport H616 cpufreq support 2024-07-10 22:18:14 +08:00
tegra kernel: bump 5.10 to 5.10.133 (#9845) 2022-07-27 23:51:57 +08:00
uml kernel: bump 5.4 to 5.4.260 (#11657) 2023-11-13 17:34:53 +08:00
x86 kernel: bump 5.15 to 5.15.162 (#12317) 2024-07-08 14:57:44 +08:00
zynq x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
Makefile treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00