Commit Graph

8 Commits

Author SHA1 Message Date
Maxython d3556570a5
setup_build_folders, clean.sh: don't fail if chmod fails
For some reason chmod +w -R returns an error when building on
device. Lets not fail build when this happens.
2022-02-11 22:37:18 +01:00
Leonid Pliushch c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch e303212ae5 enable on-device builds
Partial compatibility for on-device builds.

There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Leonid Pliushch 6bf521b42b clean.sh: avoid cleaning build directories while build is running 2019-07-08 17:51:38 +03:00
Leonid Pliushch 225b1c471f clean.sh & build-package.sh: avoid errors in case chmod's target dir is not exist 2019-07-04 14:29:06 +03:00
Leonid Pliushch 33b93ef30d clean.sh: fix typo 2019-07-04 14:14:04 +03:00
Leonid Pliushch 1dba788409 clean.sh: ensure that files/dirs are writable before deleting them
Fixes permission denials if something in $TERMUX_TOPDIR contains tree with
Golang modules.
2019-07-04 14:04:26 +03:00
Fredrik Fornwall 3c03cf4b6b Change clean-rebuild-all.sh to clean.sh 2016-09-14 17:57:33 -04:00