mirror of
https://github.com/kenzok8/vmlinux-btf.git
synced 2026-12-05 16:08:54 +00:00
The package build expands Build/Compile twice, so shell variables written as double-dollar did not survive: the CI log shows the executed recipe with MAKE_BIN (from $$CMAKE_BIN), ATH (from $$PATH) and an empty -j (from $$(nproc)) — 'MAKE_BIN: command not found', Error 127. Drop shell variables entirely: pick cmake with a make-time wildcard test, expand PATH with $(PATH) and the job count with $(shell nproc) — all resolve to literals on the first expansion, so the second expansion cannot mangle them. Verified locally with a double-expansion test on the real define block (output identical after two expansions, cmake path and -j number intact).