openwrt/include
Jonas Gorski 3210aa8e0a prereq: merge common cases in SetupHostCommand
Now that most cases do the same thing in SetupHostCommand, merge them
together into one. To allow moving the generic symlink check, invert the
check and let it check for relative links by matching on link targets
that do not start with a slash.

This then allows us to also drop the absolute link case, shortening the
case statement further.

This reorders the check to

* if it is not a symlink, do not change it
* if it is a symlink and it points to the found command, do not change it
* if it is a symlink with a relative path, do not change it
* else, update/replace it

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2023-08-26 14:00:36 +02:00
..
site generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
autotools.mk autotools: add list of fake paths to tools 2023-05-04 06:07:26 +02:00
bpf.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk build: make git sub-modules to fetch configurable 2023-07-28 09:00:49 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk host-build: add support for a stampfile per installed binary 2023-06-05 08:31:53 +02:00
image-commands.mk image: add additional fields to Netgear encrypted image 2023-07-01 14:42:11 +02:00
image.mk build: add ALT5 vendor/model/variant 2023-07-08 20:19:00 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.127 2023-08-18 23:14:08 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.47 2023-08-26 00:07:16 +02:00
kernel-build.mk
kernel-defaults.mk kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function 2023-05-22 22:28:18 +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 kernel: fix KernelPackage when all KCONFIG are versioned 2023-07-04 19:29:41 +02:00
logo.png
logo.svg
meson.mk meson: prepare to use different linkers 2023-07-04 20:25:40 +02:00
netfilter.mk
nls.mk
openssl-module.mk openssl: add legacy provider 2023-04-05 08:24:49 -03:00
package-bin.mk
package-defaults.mk build: disable automake dependency tracking 2023-03-13 22:53:41 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: add support to use the mold linker for packages 2023-07-04 20:25:41 +02:00
prereq-build.mk prereq-build: increase GCC requirement to 8 2023-08-14 20:18:42 +02:00
prereq.mk prereq: merge common cases in SetupHostCommand 2023-08-26 14:00:36 +02:00
quilt.mk
rootfs.mk
scan.awk
scan.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
shell.sh
subdir.mk
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk
toplevel.mk treewide: add ORIG_PATH variable 2023-06-05 08:31:47 +02:00
trusted-firmware-a.mk
u-boot.mk u-boot.mk: add support for config customization 2023-06-10 21:31:07 +02:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk