The .incbin assembler directive is much faster than bin2c + $(CC). Do similar refactoring as in 4c0f032d4963 ("s390/purgatory: Omit use of bin2c"). Please note the .quad directive matches to size_t in C (both 8 byte) because the purgatory is compiled only for the 64-bit kernel. (KEXEC_FILE depends on X86_64).
Showing the changes to scripts (1 of 5 files). Show all
Unified · Split
| @@ -41,3 +41,5 @@ if [ -n "${building_out_of_srctree}" ]; then · 40 unmodified lines | ||
| 41 | 41 | fi |
| 42 | 42 | |
| 43 | 43 | rm -f scripts/extract-cert |
| 44 | + | |
| 45 | +rm -f arch/x86/purgatory/kexec-purgatory.c | |