mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-24 13:32:10 -05:00
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:
|
||
|---|---|---|
| .. | ||
| backport-5.15 | ||
| backport-6.1 | ||
| backport-6.6 | ||
| files | ||
| hack-5.15 | ||
| hack-6.1 | ||
| hack-6.6 | ||
| image | ||
| other-files | ||
| pending-5.15 | ||
| pending-6.1 | ||
| pending-6.6 | ||
| config-5.15 | ||
| config-6.1 | ||
| config-6.6 | ||
| config-filter | ||
| PATCHES | ||