mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
Fixed build error on latest Ubuntu
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
This commit is contained in:
@@ -24,6 +24,7 @@ check_kernel_dir:
|
||||
|
||||
chipsec: check_kernel_dir clean
|
||||
nasm -f $(elf-size) -o $(asm-path)/cpu.o $(asm-path)/cpu.asm
|
||||
touch $(asm-path)/.cpu.o.cmd
|
||||
@if [ `grep -c 'efi_call' /proc/kallsyms` != "0" ]; then \
|
||||
make CFLAGS_MODULE=-DHAS_EFI=1 -C $(KERNEL_SRC_DIR) M=${CURDIR} modules; \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user