openwrt/include
Matthias Schiffer c364cb8e46
include: autotools: do not symlink files in autoreconf
In Gluon's Github Actions CI, we were occasionally seeing bizarre build
errors that looked like a config.sub file had been corrupted, or changed
while it was being executed.

The cause turned out to be an interaction of the symlinks created by
autoreconf (pointing from individual tools' build dirs into
`staging_dir/host/share/automake-1.16`) and OpenWrt's host-build.mk,
which replaced config.guess and config.sub *after* autoreconf. The
result was that the replacement of these files ended up following the
symlinks and writing the files in `staging_dir/host/share/automake-1.16`
instead of a package's build dir. This could cause other packages' builds
to fail if they were currently executing the scripts while they were
being written.

To fix this, disable autoreconf's symlinking feature, so that modifying
these files in a package's build directory can't accidentally affect the
staged versions.

Link: https://github.com/openwrt/openwrt/pull/15825
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2024-08-29 20:04:02 +02:00
..
site build: autoconf: Activate options for standard types 2024-07-28 19:39:34 +02:00
autotools.mk include: autotools: do not symlink files in autoreconf 2024-08-29 20:04:02 +02:00
bpf.mk bpf: also include toolchain standard header as system header 2024-06-17 13:48:29 +02:00
cmake.mk build: fix CMake generator for non-Ninja builds 2024-08-29 19:46:48 +02:00
debug.mk
depends.mk
device_table.txt
download.mk download: don't overwrite VERSION variable 2024-04-29 08:39:25 +02:00
feeds.mk build: add APK package build capabilities 2024-05-17 23:21:26 +03:00
hardened-ld-pie.specs
hardening.mk build: add option for building with stack-protector-all 2024-01-19 21:27:14 +01:00
host-build.mk build: add support for host building in a subdirectory 2024-07-27 20:32:20 +02:00
image-commands.mk image: add recipe for legacy multiple images 2024-07-09 12:33:17 +02:00
image.mk image: exclude initramfs-images dependency with IB 2024-07-09 04:41:21 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.161 2024-07-01 00:22:09 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.106 2024-08-20 23:45:07 +02:00
kernel-6.6 kernel: bump 6.6 to 6.6.47 2024-08-20 23:41:08 +02:00
kernel-build.mk build: fix missing SOURCE_VERSION variable 2024-07-03 13:10:08 +02:00
kernel-defaults.mk kernel: fix broken initramfs images for Separate cpio 2024-07-09 08:43:16 +02:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-05-31 20:28:40 +02:00
kernel.mk loongarch64: new target 2024-05-04 14:14:16 +08:00
logo.png
logo.svg
meson.mk tools/meson: static host and both libraries 2024-03-29 23:42:22 +01:00
netfilter.mk kernel: Extract kmod-nf-dup-inet 2024-07-03 13:10:59 +02:00
nls.mk
openssl-module.mk
package-bin.mk
package-defaults.mk build: add support for PKG_SUBDIRS variable 2024-07-08 08:49:42 +02:00
package-dumpinfo.mk build: remove duplicate MAINTAINER from package-dumpinfo.mk 2024-05-07 22:24:10 +02:00
package-pack.mk Revert "apk: limit CONFIG_IPK_FILES_CHECKSUMS config to OPKG" 2024-06-20 05:52:05 +02:00
package-seccomp.mk
package.mk build: add support for PKG_SUBDIRS variable 2024-07-08 08:49:42 +02:00
prereq-build.mk Revert "prereq-build: add Python 3.12 support" 2023-11-13 23:33:40 +01:00
prereq.mk prereq: merge common cases in SetupHostCommand 2023-08-26 14:00:36 +02:00
quilt.mk quilt.mk: don't error on refresh/update if patches doesn't exist 2023-10-06 21:59:29 +02:00
rootfs.mk include/rootfs: improve readability of OPKG status fixup block 2024-06-11 23:58:12 +02:00
scan.awk
scan.mk scan.mk: do not silence output of dump phase 2023-11-13 14:01:24 +01:00
shell.sh
subdir.mk kernel-build.mk: add support for compiling only DTS 2024-02-08 19:57:28 +01:00
target.mk target.mk: init default configs if they are missing in the .config 2024-07-18 14:15:49 +02:00
toolchain-build.mk
toplevel.mk toplevel.mk: make sure tmp exist for .packagedynamicdefault 2024-06-12 15:55:17 +02:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: allow overriding package install template 2024-05-07 22:01:42 +02:00
u-boot.mk u-boot.mk: override default PATH to avoid pick hostpkg python 2024-03-02 14:17:31 +01:00
uclibc++.mk
unpack.mk
verbose.mk verbose.mk: fallback to standard file descriptors 2024-01-05 16:25:14 +01:00
version.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00