Browse Source
build-package.sh: prefix and home shouldn't be overridable for on-device builds
And set TERMUX_NO_CLEAN to true for on-device builds as well.
emacs-27
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
6 additions and
0 deletions
-
scripts/build/termux_step_setup_variables.sh
|
|
@ -18,6 +18,12 @@ termux_step_setup_variables() { |
|
|
|
# For on-device builds cross-compiling is not supported so we can |
|
|
|
# store information about built packages under $TERMUX_TOPDIR. |
|
|
|
TERMUX_BUILT_PACKAGES_DIRECTORY="$TERMUX_TOPDIR/.built-packages" |
|
|
|
|
|
|
|
# These variables should not be configurable for on-device builds. |
|
|
|
# TERMUX_ARCH already set in build-package.sh |
|
|
|
TERMUX_PREFIX="/data/data/com.termux/files/usr" |
|
|
|
TERMUX_ANDROID_HOME="/data/data/com.termux/files/home" |
|
|
|
TERMUX_NO_CLEAN="true" |
|
|
|
else |
|
|
|
TERMUX_BUILT_PACKAGES_DIRECTORY="/data/data/.built-packages" |
|
|
|
fi |
|
|
|