From 2128d625caa4155a73f5b6db23413bddc1d9ab82 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Fri, 2 Sep 2016 16:37:39 +0800 Subject: Makefile.inc: Use $(MAINBOARDDIR) Commit 93ef3ff makes the following only print the part number when the ROM is built. In Makefile.inc, $(MAINBOARDDIR) is the variable that has the quotes stripped off from $(CONFIG_MAINBOARD_DIR), so use it instead of $(MAINBOARD_DIR). build_complete:: coreboot printf "\nBuilt %s (%s)\n" $(MAINBOARD_DIR) \ $(CONFIG_MAINBOARD_PART_NUMBER) Change-Id: I729a583182937db7a926eb75aa28dfb53360046c Signed-off-by: Iru Cai Reviewed-on: https://review.coreboot.org/16410 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index 6225152b13..0caab91fb3 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -60,7 +60,7 @@ coreboot: build-dirs $(obj)/coreboot.rom $(obj)/cbfstool $(obj)/rmodtool $(obj)/ # targets after the build completes by creating a Makefile.inc in the # site-local directory with a target named 'build_complete::' build_complete:: coreboot - printf "\nBuilt %s (%s)\n" $(MAINBOARD_DIR) \ + printf "\nBuilt %s (%s)\n" $(MAINBOARDDIR) \ $(CONFIG_MAINBOARD_PART_NUMBER) # This target can be used to run rules after all files were added to CBFS, -- cgit v1.2.3