termux_step_setup_variables.sh: no need to override home/prefix for on-device builds

This commit is contained in:
Leonid Pliushch 2020-10-30 21:48:26 +02:00
parent 7f8ee49bfc
commit a4263115fc

View File

@ -16,11 +16,6 @@ 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"
# On device builds are considered as unofficial.