abuild: make build-base target specific
This commit is contained in:
parent
6fa4c26226
commit
ab748f4eda
@ -20,8 +20,6 @@ fi
|
|||||||
. "$datadir/functions.sh"
|
. "$datadir/functions.sh"
|
||||||
|
|
||||||
# defaults
|
# defaults
|
||||||
BUILD_BASE="build-base"
|
|
||||||
|
|
||||||
: ${FAKEROOT:="fakeroot"}
|
: ${FAKEROOT:="fakeroot"}
|
||||||
: ${SUDO_APK:="abuild-apk"}
|
: ${SUDO_APK:="abuild-apk"}
|
||||||
: ${APK:="apk"}
|
: ${APK:="apk"}
|
||||||
@ -1857,6 +1855,10 @@ builddeps() {
|
|||||||
[ -n "$nodeps" ] && return 0
|
[ -n "$nodeps" ] && return 0
|
||||||
|
|
||||||
msg "Analyzing dependencies..."
|
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"
|
calcdeps "$BUILD_BASE"
|
||||||
|
|
||||||
installed_builddeps=$($APK info --installed $builddeps)
|
installed_builddeps=$($APK info --installed $builddeps)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user