36c2ea4a63
Fix build on Debian/jessie Change-Id: I987e7a03441b40ab06ccd54a21e38aac81a1c28d Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48004 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
19 lines
598 B
Makefile
19 lines
598 B
Makefile
ifeq ($(CONFIG_ARCH_BOOTBLOCK_X86_64),y)
|
|
|
|
PGTBLGEN:= $(obj)/pgtblgen
|
|
|
|
cbfs-files-y += pagetables
|
|
pagetables-file := $(obj)/mainboard/$(MAINBOARDDIR)/pagetables
|
|
pagetables-type := raw
|
|
pagetables-compression := none
|
|
pagetables-COREBOOT-position := $(CONFIG_ARCH_X86_64_PGTBL_LOC)
|
|
|
|
$(obj)/mainboard/$(MAINBOARDDIR)/pagetables: $(PGTBLGEN) $(obj)/config.h
|
|
printf " TOOL Creating page tables\n"
|
|
$(PGTBLGEN) -b $(CONFIG_ARCH_X86_64_PGTBL_LOC) -a x86_64 -o $@
|
|
|
|
$(PGTBLGEN): util/pgtblgen/pgtblgen.c
|
|
printf " MAKE Creating PGTBLGEN tool\n"
|
|
$(HOSTCC) -std=c99 $< -I$(obj) -o $@
|
|
|
|
endif
|