linux-zen-server/arch/x86/boot/.zoffset.h.cmd

2 lines
321 B
Batchfile
Raw Permalink Normal View History

2023-08-30 17:53:23 +02:00
savedcmd_arch/x86/boot/zoffset.h := llvm-nm arch/x86/boot/compressed/vmlinux | sed -n -e 's/^\([0-9a-fA-F]*\) [a-zA-Z] \(startup_32\|startup_64\|efi32_stub_entry\|efi64_stub_entry\|efi_pe_entry\|efi32_pe_entry\|input_data\|kernel_info\|_end\|_ehead\|_text\|z_.*\)$$/$(pound)define ZO_\2 0x\1/p' > arch/x86/boot/zoffset.h