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 --- src/soc/intel/braswell/Makefile.inc | 2 +- src/soc/intel/skylake/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/braswell/Makefile.inc b/src/soc/intel/braswell/Makefile.inc index cfa5b4ce63..abd64a5ec0 100644 --- a/src/soc/intel/braswell/Makefile.inc +++ b/src/soc/intel/braswell/Makefile.inc @@ -57,7 +57,7 @@ CPPFLAGS_common += -I$(src)/soc/intel/braswell/ CPPFLAGS_common += -I$(src)/soc/intel/braswell/include CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/braswell -CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARD_DIR) +CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARDDIR) ifneq ($(CONFIG_GOP_SUPPORT),y) ifneq ($(CONFIG_VGA_BIOS_FILE),) diff --git a/src/soc/intel/skylake/Makefile.inc b/src/soc/intel/skylake/Makefile.inc index aa3da61f22..d688747a93 100644 --- a/src/soc/intel/skylake/Makefile.inc +++ b/src/soc/intel/skylake/Makefile.inc @@ -107,7 +107,7 @@ CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/skykabylake endif # Currently used for microcode path. -CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARD_DIR) +CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARDDIR) ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2 -- cgit v1.2.3