toplevel.mk: use relative path for feeds/base symlink
authorAndy Chiang <[email protected]>
Sat, 4 Oct 2025 10:38:41 +0000 (17:38 +0700)
committerRobert Marko <[email protected]>
Mon, 10 Nov 2025 14:20:34 +0000 (15:20 +0100)
commit631d535282a39f2d6a440b27f211a7678916f525
treedd8ea87c1ff38dbd73ebeaf6819d469c0cc335d1
parenta88a19982d2dc6b767a6b824e2a8e447f60958f8
toplevel.mk: use relative path for feeds/base symlink

Currently, feeds/base is created as an absolute symlink to $(TOPDIR)/package.
If the OpenWrt source tree is copied to another location for building (while keeping the old tree), the symlink will still point to the package directory in the old tree.
Using a relative symlink ensures that feeds/base always points to the package directory within the current OpenWrt source tree, improving portability and avoiding incorrect links.

Signed-off-by: Andy Chiang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20297
Signed-off-by: Robert Marko <[email protected]>
include/toplevel.mk