openwrt/target/linux/generic
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
..
backport-5.15 kernel: bump 5.15 to 5.15.161 2024-07-01 00:22:09 +02:00
backport-6.1 kernel: bump 6.1 to 6.1.97 2024-07-08 00:01:30 +02:00
backport-6.6 generic: 6.6: backport fix for broken cmdline "nosmp" and "maxcpus=0" 2024-07-06 17:50:23 +02:00
files kernel: mtdsplit: fix fit rootfs_data split 2024-07-07 20:58:56 +08:00
hack-5.15 kernel: bump 5.15 to 5.15.161 2024-07-01 00:22:09 +02:00
hack-6.1 kernel: bump 6.1 to 6.1.96 2024-07-04 22:02:47 +02:00
hack-6.6 kernel: fix x86 compilation on macOS 2024-07-08 12:43:50 +02:00
image
other-files
pending-5.15 kernel: bump 5.15 to 5.15.161 2024-07-01 00:22:09 +02:00
pending-6.1 kernel: bump 6.1 to 6.1.97 2024-07-08 00:01:30 +02:00
pending-6.6 generic: 6.6: mtk_eth_soc: add support for flow-control settings 2024-07-06 04:22:37 +01:00
config-5.15 kernel: bump 5.15 to 5.15.157 2024-05-11 18:30:30 +02:00
config-6.1 kernel: Add missing config option 2024-04-15 22:50:34 +02:00
config-6.6 generic: 6.6: backport upstream r8169 patches 2024-06-24 05:36:14 +02:00
config-filter generic: filter out CONFIG_FRAME_WARN 2023-07-01 11:52:07 +02:00
PATCHES