summaryrefslogtreecommitdiffstats
path: root/src/cpu
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-10-08 23:09:32 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-10-12 12:04:00 +0000
commitb18fec54ec3edefc013084e549193e687717db19 (patch)
tree63fa8edc6f7a3d04d84776df3e12ce4b03cedaaa /src/cpu
parentb33ee1da7d35c55a5d88583a96ae036b3cc458a2 (diff)
downloadcoreboot-b18fec54ec3edefc013084e549193e687717db19.tar.gz
coreboot-b18fec54ec3edefc013084e549193e687717db19.tar.bz2
coreboot-b18fec54ec3edefc013084e549193e687717db19.zip
cpu/x86/64bit: Fix building with -jx
config.h is a dependency so add it. Change-Id: Iac87039dd43aa75d49766b9a239fbd841ca6850c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68244 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/64bit/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/64bit/Makefile.inc b/src/cpu/x86/64bit/Makefile.inc
index 1895498111ea..48f56fccfdb5 100644
--- a/src/cpu/x86/64bit/Makefile.inc
+++ b/src/cpu/x86/64bit/Makefile.inc
@@ -7,7 +7,7 @@ postcar-y += mode_switch.S
ramstage-y += mode_switch.S
# Add --defsym=_start=0 to suppress a linker warning.
-$(objcbfs)/pt: $(dir)/pt.S
+$(objcbfs)/pt: $(dir)/pt.S $(obj)/config.h
$(CC_bootblock) $(CFLAGS_bootblock) $(CPPFLAGS_bootblock) -o $@.tmp $< -Wl,--section-start=.rodata=$(CONFIG_ARCH_X86_64_PGTBL_LOC),--defsym=_start=0
$(OBJCOPY_ramstage) -Obinary -j .rodata $@.tmp $@
rm $@.tmp