util/spd_tools: Update Makefile.inc references to Makefile.mk
Make sure that any new files generated get the Makefile.mk name. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I3880d5911ff8de01751befdffc99ba5a961416f7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80113 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
committed by
Felix Singer
parent
68c73c94db
commit
2dd1218530
@ -20,7 +20,7 @@ import (
|
||||
* It expects the following inputs:
|
||||
* Name of the SoC platform, e.g. TGL.
|
||||
* Memory technology used by the variant, e.g. lp4x.
|
||||
* Path to Makefile directory. Makefile.inc generated by this program is placed in this
|
||||
* Path to Makefile directory. Makefile.mk generated by this program is placed in this
|
||||
* location.
|
||||
* Text file containing a list of memory part names used by the board. Each line in the file
|
||||
* is expected to have one memory part name.
|
||||
@ -29,7 +29,7 @@ const (
|
||||
SPDManifestFileName = "parts_spd_manifest.generated.txt"
|
||||
PlatformsManifestFileName = "platforms_manifest.generated.txt"
|
||||
SPDEmptyFileName = "spd-empty.hex"
|
||||
MakefileName = "Makefile.inc"
|
||||
MakefileName = "Makefile.mk"
|
||||
DRAMIdFileName = "dram_id.generated.txt"
|
||||
MaxMemoryId = 15
|
||||
)
|
||||
@ -58,7 +58,7 @@ func usage() {
|
||||
fmt.Printf(" supported platforms: %v\n", supportedPlatforms)
|
||||
fmt.Printf(" mem_technology = Memory technology used by the board\n")
|
||||
fmt.Printf(" supported technologies: %v\n", supportedMemTechs)
|
||||
fmt.Printf(" makefile_dir = Directory path where generated Makefile.inc should be placed\n")
|
||||
fmt.Printf(" makefile_dir = Directory path where generated Makefile.mk should be placed\n")
|
||||
fmt.Printf(" mem_parts_used_file = CSV file containing list of memory parts used by the board and optional fixed ids\n\n\n")
|
||||
}
|
||||
|
||||
@ -410,7 +410,7 @@ func genPartIdInfo(parts []usedPart, partToSPDMap map[string]string, SPDToIndexM
|
||||
}
|
||||
|
||||
/*
|
||||
* This function generates Makefile.inc under the variant directory path and adds assigned SPDs
|
||||
* This function generates Makefile.mk under the variant directory path and adds assigned SPDs
|
||||
* to SPD_SOURCES.
|
||||
*/
|
||||
func genMakefile(partIdList []partIds, makefileDirName string, SPDDir string, partsDir string) error {
|
||||
|
Reference in New Issue
Block a user