util/autoport: Update Makefile.inc generation to Makefile.mk

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ib77cb3a0852092ac414fe0160fe10d6e58fcf660
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80127
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Martin Roth 2024-01-18 19:17:36 -07:00 committed by Felix Singer
parent 91aa3d88f3
commit d0096c11b2
2 changed files with 2 additions and 2 deletions

View File

@ -739,7 +739,7 @@ func main() {
} }
if len(BootBlockFiles) > 0 || len(ROMStageFiles) > 0 || len(RAMStageFiles) > 0 || len(SMMFiles) > 0 { if len(BootBlockFiles) > 0 || len(ROMStageFiles) > 0 || len(RAMStageFiles) > 0 || len(SMMFiles) > 0 {
mf := Create(ctx, "Makefile.inc") mf := Create(ctx, "Makefile.mk")
defer mf.Close() defer mf.Close()
writeMF(mf, BootBlockFiles, "bootblock") writeMF(mf, BootBlockFiles, "bootblock")
writeMF(mf, ROMStageFiles, "romstage") writeMF(mf, ROMStageFiles, "romstage")

View File

@ -238,7 +238,7 @@ to create a binary file with this SPD data:
Then, move the generated file into your mainboard's directory Then, move the generated file into your mainboard's directory
and hook it up to the build system by adding the following and hook it up to the build system by adding the following
lines to `Makefile.inc`: lines to `Makefile.mk`:
cbfs-files-y += spd.bin cbfs-files-y += spd.bin
spd.bin-file := spd.bin spd.bin-file := spd.bin