armbian-build/lib
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
..
functions 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
tools tools: Bump SHELLFMT_VERSION from 3.9.0 to 3.10.0 2024-11-03 22:24:23 +01:00
library-functions.sh Refactor armbian-config into install as external package (#7716) 2025-01-20 14:23:28 +01:00
single.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00