armbian-build/lib/functions
Ricardo Pardini 51b300ebdf armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
..
artifacts Refactor armbian-config into install as external package (#7716) 2025-01-20 14:23:28 +01:00
bsp Overlay management: somewhere we had OVERLAY_DIR and somewhere OVERLAYDIR 2024-10-08 12:37:49 +02:00
cli Refactor armbian-config into install as external package (#7716) 2025-01-20 14:23:28 +01:00
compilation armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines 2025-02-09 15:55:28 +01:00
configuration Add upstream release as csc target: Ubuntu plucky 25.04 2025-01-23 18:30:49 +01:00
general tools: Bump BATCAT_VERSION from 0.24.0 to 0.25.0 (#7706) 2025-01-21 13:28:56 +01:00
host don't ship qemu binary in rootfs cache + armhf image/rootfs building on non-armhf-capable-arm64 hosts (Apple M1+) 2024-12-31 11:52:12 +01:00
image Fix handling loop devices 2025-01-08 13:17:47 +01:00
logging runners: fix if_error_find_files_sdcard if looking for full paths (shows DKMS log correctly) 2025-01-04 15:35:29 +01:00
main Refactor armbian-config into install as external package (#7716) 2025-01-20 14:23:28 +01:00
rootfs feat: Use deb822 APT source for armbian-config 2025-02-04 18:49:52 +01:00