From d9cb2c12d7f6fde26b736fe5fe1ca3f5142b1f18 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Wed, 3 Jul 2024 17:39:00 -0600 Subject: autoport: Print location of generated sources Autoport determines the mainboard vendor and board names based on DMI entries, which sometimes doesn't result in the most obvious name. In addition, newcomers may not be familiar with coreboot's directory structure and have no idea where to look. Print out the absolute patch of the generated sources once autoport finishes so that it is easier to locate the files. Change-Id: I4ba00484ac57355d7539fa6e36e0e6df62719f8a Signed-off-by: Nicholas Chin Reviewed-on: https://review.coreboot.org/c/coreboot/+/83344 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- util/autoport/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/autoport') diff --git a/util/autoport/main.go b/util/autoport/main.go index b7130b240e..18fb694d1a 100644 --- a/util/autoport/main.go +++ b/util/autoport/main.go @@ -8,6 +8,7 @@ import ( "fmt" "log" "os" + "path/filepath" "sort" "strings" ) @@ -903,4 +904,6 @@ private package GMA.Mainboard is end GMA.Mainboard; `) } + outputPath, _ := filepath.Abs(ctx.BaseDirectory) + fmt.Printf("Done! Generated sources are in %s\n", outputPath) } -- cgit v1.2.3