- 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) |
||
|---|---|---|
| .. | ||
| packages | ||
| patch | ||
| armbian-kernel.sh | ||
| atf.sh | ||
| ccache.sh | ||
| crust.sh | ||
| distcc.sh | ||
| kernel-config.sh | ||
| kernel-debs.sh | ||
| kernel-dts-check.sh | ||
| kernel-git-bundle.sh | ||
| kernel-git-oras.sh | ||
| kernel-git.sh | ||
| kernel-make.sh | ||
| kernel-patching.sh | ||
| kernel.sh | ||
| uboot-git.sh | ||
| uboot-patching.sh | ||
| uboot.sh | ||
| utils-compilation.sh | ||