diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-09-02 16:37:39 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-04 05:33:25 +0200 |
commit | 2128d625caa4155a73f5b6db23413bddc1d9ab82 (patch) | |
tree | 1b46085cf41aa03d8fb3c89b087be68a8d174404 | |
parent | 2765a893ca355caaf7d859e2bff5eb58630e2ddb (diff) | |
download | coreboot-2128d625caa4155a73f5b6db23413bddc1d9ab82.tar.xz |
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 <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/16410
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | Makefile.inc | 2 | ||||
-rw-r--r-- | src/soc/intel/braswell/Makefile.inc | 2 | ||||
-rw-r--r-- | src/soc/intel/skylake/Makefile.inc | 2 |
3 files changed, 3 insertions, 3 deletions
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, 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 |