armbian-build/lib/functions/compilation
Ricardo Pardini 88ff66ae11
armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download)
- allows using pre-shallow-ed bare trees, specific to the KERNEL_MAJOR_MINOR
- uses shallow by default if storage is "slow" (mmc), or free disk space < 32g (@TODO tweak this)
- if full tree already there keeps using it
- allow forcing decision with `KERNEL_GIT=full` or `KERNEL_GIT=shallow`
- countdown to confirm if decision based on storage type/free space and user is interactive
  - this has some of the worst copy ever written
- @TODO refactor the device type / free space code, reuse across codebase (3-4 other spots detect free space)
- @TODO GHA self-hosted (full) vs hosted (shallow) runners decision
- sprinkle with `wait_for_disk_sync()` around clean/download/extract
- sprinkle git with debugs, and an info between fetch and checkout (otherwise it seems "fetch" takes a long time)
2023-02-18 07:43:54 -03:00
..
packages armbian-next: compile_firmware(): use new temp dir helpers (saves 2Gb+ in WORKDIR), fix typos 2023-02-18 07:43:32 -03:00
patch armbian-next: drop dead/duplicated code for bootsplash and mark kernel-drivers.sh (which includes bootsplash) as dead code 2023-02-18 07:43:23 -03:00
atf.sh armbian-next: fix ATF build under binutils 2.39+ via TF_LDFLAGS=--no-warn-rwx-segment 2023-02-18 07:43:48 -03:00
ccache.sh armbian-next: replace bare sync invocations by introducing wait_for_disk_sync(); sync early at start of build 2023-02-18 07:43:53 -03:00
distcc.sh armbian-next: distcc: optionally using distcc for kernel build 2023-02-18 07:40:17 -03:00
kernel-config.sh armbian-next: kernel: deterministic .config mtime handling; kernel build logging sections reorg 2023-02-18 07:42:39 -03:00
kernel-debs.sh armbian-oleg: logging: disable debugging (set -x) of generated postinst/etc kernel scripts (board-side, but also chroot logging) 2023-02-18 07:42:38 -03:00
kernel-git-bundle.sh armbian-next: kernel: git: split via-ORAS and via-Bundle tangle 2023-02-18 07:43:51 -03:00
kernel-git-oras.sh armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download) 2023-02-18 07:43:54 -03:00
kernel-git.sh armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download) 2023-02-18 07:43:54 -03:00
kernel-make.sh armbian-next: introduce tmpfs-utils.sh; put LOGDIR and WORKDIR under tmpfs; set CCACHE_TEMPDIR under WORKDIR 2023-02-18 07:43:09 -03:00
kernel-patching.sh armbian-next: Python tooling: use consolidated+hashed+cached pip base/pycache; don't pip during Dockerfile build, nor cli-requirements 2023-02-18 07:42:44 -03:00
kernel.sh armbian-next: adaptive shallow/full Kernel git bare git (3gb -> 300mb download) 2023-02-18 07:43:54 -03:00
uboot-git.sh armbian-next: Python patching delusion, pt1 & pt2 & pt3 2023-02-18 07:40:52 -03:00
uboot-patching.sh armbian-next: Python tooling: use consolidated+hashed+cached pip base/pycache; don't pip during Dockerfile build, nor cli-requirements 2023-02-18 07:42:44 -03:00
uboot.sh armbian-next: [focal-host] remove usages of declare -I, not supported under focal's bash 2023-02-18 07:41:49 -03:00
utils-compilation.sh armbian-next: bring find_toolchain() back from the dead; force SKIP_EXTERNAL_TOOLCHAINS=no to force use external toolchains 2023-02-18 07:40:58 -03:00