mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: Makefiles: Use $(MAINBOARD_DIR) instead of $(CONFIG_MAINBOARD_DIR)
The variable MAINBOARD_DIR already has the quotes stripped off. BUG=None BRANCH=None TEST=None Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/16117 Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Change-Id: Ib434ce92bdbc49180fb3f713b26d65ba4cf8c441 Reviewed-on: https://chromium-review.googlesource.com/369110 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
77213330a3
commit
47132068e4
3 changed files with 3 additions and 3 deletions
|
@ -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
|
# targets after the build completes by creating a Makefile.inc in the
|
||||||
# site-local directory with a target named 'build_complete::'
|
# site-local directory with a target named 'build_complete::'
|
||||||
build_complete:: coreboot
|
build_complete:: coreboot
|
||||||
printf "\nBuilt %s (%s)\n" $(CONFIG_MAINBOARD_DIR) \
|
printf "\nBuilt %s (%s)\n" $(MAINBOARD_DIR) \
|
||||||
$(CONFIG_MAINBOARD_PART_NUMBER)
|
$(CONFIG_MAINBOARD_PART_NUMBER)
|
||||||
|
|
||||||
# This target can be used to run rules after all files were added to CBFS,
|
# This target can be used to run rules after all files were added to CBFS,
|
||||||
|
|
|
@ -57,7 +57,7 @@ CPPFLAGS_common += -I$(src)/soc/intel/braswell/
|
||||||
CPPFLAGS_common += -I$(src)/soc/intel/braswell/include
|
CPPFLAGS_common += -I$(src)/soc/intel/braswell/include
|
||||||
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/braswell
|
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/braswell
|
||||||
|
|
||||||
CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)
|
CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARD_DIR)
|
||||||
|
|
||||||
ifneq ($(CONFIG_GOP_SUPPORT),y)
|
ifneq ($(CONFIG_GOP_SUPPORT),y)
|
||||||
ifneq ($(CONFIG_VGA_BIOS_FILE),)
|
ifneq ($(CONFIG_VGA_BIOS_FILE),)
|
||||||
|
|
|
@ -89,7 +89,7 @@ CPPFLAGS_common += -I$(src)/soc/intel/skylake/include
|
||||||
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake
|
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake
|
||||||
|
|
||||||
# Currently used for microcode path.
|
# Currently used for microcode path.
|
||||||
CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)
|
CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARD_DIR)
|
||||||
|
|
||||||
ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2
|
ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue