New issue by ILadis on void-packages repository https://github.com/void-linux/void-packages/issues/26257 Description: ### System * xuname: `Void 4.19.127_3 armv7l Unknown notuptodate hold rFFF` * package: `rpi-kernel-headers-5.4.68_1` ### Expected behavior Upon running `make scripts` from inside `/usr/src/rpi-kernel-headers-5.*` all kernel scripts should be compiled. Output of `make scripts`: ``` HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/recordmcount HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/sortextable HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert ``` ### Actual behavior Some kernel scripts do not get compiled. No errors occur when running `make scripts` but when I try to compile a kernel module/driver from source it complains about a missing kernel script: ``` Building modules, stage 2. MODPOST 1 modules /bin/sh: 1: scripts/mod/modpost: not found make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 127 ``` If I then try to explicitly run `make` in `/usr/src/rpi-kernel-headers-5.*/scripts/mod` I get the following error: ``` make: *** No rule to make target '/devicetable-offsets.s', needed by '/devicetable-offsets.h'. Stop. ``` I do not know if that is the only script that can not be compiled. There may be more missing. ### Steps to reproduce the behavior Run `cd /usr/src/rpi-kernel-headers-5.* && make scripts` and check if `scripts/mod/modpost` gets compiled. In order to successfully compile the kernel scripts I had to also install the following development tools: `make`, `flex`, `gcc`, `libressl-devel`