Commit 4442efff authored by Timo Teräs's avatar Timo Teräs

abuild: add symlinksrc target for create the source file symlinks

needed for upcoming 'rootbld' support
parent 520cc15f
......@@ -340,6 +340,18 @@ uri_fetch_mirror() {
uri_fetch "$uri"
symlinksrc() {
local s
mkdir -p "$srcdir"
for s in $source; do
if is_remote "$s"; then
ln -sf "$SRCDEST/$(filename_from_uri $s)" "$srcdir"/
ln -sf "$startdir/$s" "$srcdir/"
default_fetch() {
local s
mkdir -p "$srcdir"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment