openwrt-mirror/target/linux/generic/hack-6.6
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
..
200-tools_portability.patch kernel: fix x86 compilation on macOS 2024-07-08 12:43:50 +02:00
204-module_strip.patch kernel: bump 6.6 to 6.6.35 2024-06-22 16:50:57 +02:00
205-kconfig-abort-configuration-on-unset-symbol.patch
210-darwin_scripts_include.patch kernel: bump 6.6 to 6.6.26 2024-04-14 17:50:27 +02:00
211-darwin-uuid-typedef-clash.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
214-spidev_h_portability.patch
220-arm-gc_sections.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
230-openwrt_lzma_options.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
250-netfilter_depends.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
251-kconfig.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
253-ksmbd-config.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
259-regmap_dynamic.patch kernel: bump 6.6 to 6.6.31 2024-05-30 00:04:12 +02:00
260-crypto_test_dependencies.patch
261-lib-arc4-unhide.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
402-mtd-blktrans-call-add-disks-after-mtd-device.patch kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
420-mtd-support-OpenWrt-s-MTD_ROOTFS_ROOT_DEV.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch
430-mtk-bmt-support.patch
600-net-enable-fraglist-GRO-by-default.patch kernel: improve GRO performance 2024-04-26 06:31:27 +02:00
645-netfilter-connmark-introduce-set-dscpmark.patch
650-netfilter-add-xt_FLOWOFFLOAD-target.patch kernel: backport flow offload pppoe fix 2024-04-26 06:31:27 +02:00
651-wireless_mesh_header.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
660-fq_codel_defaults.patch
661-kernel-ct-size-the-hashtable-more-adequately.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
700-swconfig_switch_drivers.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
721-net-add-packet-mangeling.patch generic: 6.6: replace (broken) downstream patch with upstream solution 2024-06-17 13:31:20 +02:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch generic: 6.6: replace Aquantia pending LEDs patch with upstream version 2024-06-25 14:20:17 +02:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch generic: 6.6: replace Aquantia pending LEDs patch with upstream version 2024-06-25 14:20:17 +02:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch generic: 6.6: replace Aquantia pending LEDs patch with upstream version 2024-06-25 14:20:17 +02:00
750-net-pcs-mtk-lynxi-workaround-2500BaseX-no-an.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch
765-mxl-gpy-control-LED-reg-from-DT.patch kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
766-net-phy-mediatek-ge-add-LED-configuration-interface.patch
773-bgmac-add-srab-switch.patch
780-usb-net-MeigLink_modem_support.patch kernel: bump 6.6 to 6.6.29 2024-04-28 21:51:03 +02:00
781-usb-net-rndis-support-asr.patch generic: add missing patch headers 2024-04-09 17:54:08 +01:00
790-SFP-GE-T-ignore-TX_FAULT.patch kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
800-GPIO-add-named-gpio-exports.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
810-bcma-ssb-fallback-sprom.patch kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
901-debloat_sock_diag.patch kernel: bump 6.6 to 6.6.30 2024-05-05 21:22:31 +02:00
902-debloat_proc.patch kernel: bump 6.6 to 6.6.36 2024-07-04 22:07:10 +02:00
904-debloat_dma_buf.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
920-device_tree_cmdline.patch generic: 6.6: refresh hack patches 2024-03-11 20:17:26 +01:00
930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch kernel: bump 6.6 to 6.6.26 2024-04-14 17:50:27 +02:00