lede/target
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
..
imagebuilder treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00
linux kernel: fix x86 compilation on macOS 2024-07-18 13:12:11 +08:00
llvm-bpf toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
sdk sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
toolchain sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
Config.in toolchain/gcc: add loongarch64 new target 2024-01-11 21:14:49 +08:00
Makefile ipq60xx: add dma arm64 api patch 2022-09-13 15:19:06 +08:00