Commit ab748f4e authored by Timo Teräs's avatar Timo Teräs

abuild: make build-base target specific

parent 6fa4c262
......@@ -20,8 +20,6 @@ fi
. "$datadir/functions.sh"
# defaults
BUILD_BASE="build-base"
: ${FAKEROOT:="fakeroot"}
: ${SUDO_APK:="abuild-apk"}
: ${APK:="apk"}
......@@ -1857,6 +1855,10 @@ builddeps() {
[ -n "$nodeps" ] && return 0
msg "Analyzing dependencies..."
local BUILD_BASE=""
if ! options_has toolchain; then
cross_compiling && BUILD_BASE="build-base-$CTARGET_ARCH" || BUILD_BASE="build-base"
fi
calcdeps "$BUILD_BASE"
installed_builddeps=$($APK info --installed $builddeps)
......
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