- Force-add kernel include/generated/ and include/config/ headers needed for out-of-tree module compilation (autoconf.h, asm-offsets.h, etc.) - Force-add kernel .config, Module.symvers, and build tool binaries (scripts/basic/fixdep, scripts/mod/modpost) for kbuild module support - Fix SPI tools Makefile: use PATH-relative arm-linux-gnueabihf-gcc instead of hardcoded /opt/gcc-arm-eabihf/bin/ path These files enable the z80drv, ttymzdrv kernel modules and SPI tools to build on the VPS Jenkins without running make defconfig first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 lines
538 B
Batchfile
Vendored
2 lines
538 B
Batchfile
Vendored
cmd_scripts/mod/devicetable-offsets.h := (set -e; echo "#ifndef __DEVICETABLE_OFFSETS_H__"; echo "#define __DEVICETABLE_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" scripts/mod/devicetable-offsets.s; echo ""; echo "#endif" ) > scripts/mod/devicetable-offsets.h
|