prereq: add support for creating relative symlinks
authorMichael Pratt <mcpratt@pm.me>
Thu, 3 Oct 2024 04:49:10 +0000 (00:49 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:08 +0000 (14:38 +0200)
commit660e398f92472fd31dc6947f669268301c96b547
treede56ebeb490bb42a023d2986a2f4b8441e77c38d
parent90262c6f6e111d6efff134d74d180114af2d5655
prereq: add support for creating relative symlinks

For targets that install symlinks, like coreutils,
if the links happen to be deleted, let prereq stage
be capable of creating them again with a relative path.

Tested-by: Georgi Valkov <gvalkov@gmail.com> # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/prereq.mk