prplos/target/linux
Georgi Valkov be41cc497c generic: fix PATH_MAX macro redefined in exec-cmd.c on macOS 15.4
Fix an error while building target/linux x64 on macOS 15.4 host,
due to the PATH_MAX macro being redefined:

mkdir -p /Volumes/test/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.86/tools/objtool && make O=/Volumes/test/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.86 subdir=tools/objtool --no-print-directory -C objtool
exec-cmd.c:15:9: error: 'PATH_MAX' macro redefined [-Werror,-Wmacro-redefined]
   15 | #define PATH_MAX        4096
      |         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/syslimits.h:103:9: note: previous definition is here
  103 | #define PATH_MAX                 1024   /* max bytes in pathname */
      |         ^

exec-cmd.c is compiled as part of objtool to run on the host, and
therefore host headers are used, where PATH_MAX is already defined.
Using an old OpenWRT snapshot from 2025-02-16, where linux-6.6.77
used to build correctly, does not help. Reverting from Xcode 16.3 to
16.2 does not help either.

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18530
(cherry picked from commit b77e6cd6272d55af7ea64200dd2358666d25b6db)
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23710
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 33a8c1c96c25f870e5d86cbb1a3e66c2d388a83c)
2026-08-18 11:40:41 +01:00
..
airoha kernel: bump 6.6 to 6.6.142 2026-08-18 11:40:41 +01:00
apm821xx kernel: bump 6.6 to 6.6.103 2026-07-09 10:57:24 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
armsr armsr: remove 'console=tty1' from kernel command line 2026-07-09 10:57:24 +01:00
at91 at91bootstrap: put at91bootstrap images into image staging directory 2026-07-09 10:57:30 +01:00
ath79 kernel: bump 6.6 to 6.6.142 2026-08-18 11:40:41 +01:00
bcm27xx kernel: bump 6.6 to 6.6.142 2026-08-18 11:40:41 +01:00
bcm47xx kernel: bump 6.6 to 6.6.120 2026-08-18 11:40:38 +01:00
bcm53xx bcm53xx: image: sync targets names with DT compatible 2026-08-18 11:40:40 +01:00
bcm4908 kernel: bump 6.6 to 6.6.130 2026-08-18 11:40:40 +01:00
bmips bmips: fix leds on f@st3864op 2026-07-09 10:57:30 +01:00
d1 kernel: bump 6.6 to 6.6.120 2026-08-18 11:40:38 +01:00
gemini kernel: bump 6.6 to 6.6.142 2026-08-18 11:40:41 +01:00
generic generic: fix PATH_MAX macro redefined in exec-cmd.c on macOS 15.4 2026-08-18 11:40:41 +01:00
imx imx: cortexa53: enable DMA contiguous memory allocator 2026-08-18 11:40:39 +01:00
ipq40xx kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
ipq806x ipq806x: ap3935: disable hibernation on LAN1 2026-08-18 11:40:41 +01:00
ixp4xx kernel: bump 6.6 to 6.6.128 2026-08-18 11:40:40 +01:00
kirkwood kernel: bump 6.6 to 6.6.128 2026-08-18 11:40:40 +01:00
lantiq kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
layerscape kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
loongarch64 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-19 09:24:43 +01:00
malta kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
mediatek kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
mpc85xx mpc85xx: p1010: Use zImage loader for Watchguard Firebox T10 2026-07-09 10:57:35 +01:00
mvebu kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
mxs mxs: run kernel_oldconfig 2024-11-28 18:48:55 +00:00
octeon octeon: ubnt-*: Add device specific DTS pruning 2026-07-09 10:57:25 +01:00
omap kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
pistachio kernel: bump 6.6 to 6.6.128 2026-08-18 11:40:40 +01:00
qoriq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qualcommax qualcommax: ipq807x: mx5300: use existing aliases node 2026-08-18 11:40:40 +01:00
ramips kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
realtek kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
rockchip kernel: bump 6.6 to 6.6.130 2026-08-18 11:40:40 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
siflower kernel: bump 6.6 to 6.6.122 2026-08-18 11:40:39 +01:00
starfive kernel: bump 6.6 to 6.6.141 2026-08-18 11:40:41 +01:00
stm32 stm32: add missing config option 2025-05-28 13:22:00 +02:00
sunxi kernel: bump 6.6 to 6.6.120 2026-08-18 11:40:38 +01:00
tegra tegra: bring back workaround for spurious interrupts 2025-07-28 23:20:46 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: config: add CONFIG_MITIGATION_VMSCAPE=y 2026-07-09 10:57:26 +01:00
zynq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
Makefile linux: fix missing default packages in profiles.json 2025-01-03 11:14:12 +01:00