prereq: prefer existing built coreutils as symlink target
authorMichael Pratt <[email protected]>
Thu, 3 Oct 2024 04:57:29 +0000 (00:57 -0400)
committerRobert Marko <[email protected]>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
commitf197b5827a2836d87b95c95f9a638b1073a33e61
treee618295980b11a3e86b14d065ed0a5ae3061538e
parent660e398f92472fd31dc6947f669268301c96b547
prereq: prefer existing built coreutils as symlink target

For the utilities provided by coreutils
but required before coreutils is built,
if coreutils is actually built already, prefer a symlink to
the built versions instead of the host machine's version.

Tested-by: Georgi Valkov <[email protected]> # macOS
Signed-off-by: Michael Pratt <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <[email protected]>
include/prereq-build.mk