summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-07-24 12:10:38 +0200
committerMartin Roth <martinroth@google.com>2016-07-27 17:26:05 +0200
commit46114517d73df66a47e93fb38732ca9cbd3d0c5f (patch)
tree6f4af93834cc2de2d1b62ae1f87abb829efe9586
parent94938fb2a8ed7685b9e5ff6b8cc06e9264b68054 (diff)
downloadcoreboot-46114517d73df66a47e93fb38732ca9cbd3d0c5f.tar.xz
Rename VB_SOURCE to VBOOT_SOURCE for increased clarity
This renames the VB_SOURCE variable to VBOOT_SOURCE in the build system, providing increased clarity about what it represents. Since the submodule itself is called "vboot", it makes sense to use that name in full instead of a very shortened (and confusing) version of it. Change-Id: Ib343b6642363665ec1205134832498a59b7c4a26 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: https://review.coreboot.org/15824 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--Makefile.inc4
-rw-r--r--src/vendorcode/amd/pi/Makefile.inc2
-rw-r--r--src/vendorcode/google/chromeos/vboot2/Makefile.inc2
-rw-r--r--util/futility/Makefile2
-rw-r--r--util/futility/Makefile.inc2
5 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.inc b/Makefile.inc
index a33dc7bc71..5e564d65e6 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -338,8 +338,8 @@ endif
CPPFLAGS_common := -Isrc -Isrc/include -Isrc/commonlib/include -I$(obj)
CPPFLAGS_common += -Isrc/device/oprom/include
-VB_SOURCE ?= 3rdparty/vboot
-CPPFLAGS_common += -I$(VB_SOURCE)/firmware/include
+VBOOT_SOURCE ?= 3rdparty/vboot
+CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/include
CPPFLAGS_common += -include $(src)/include/kconfig.h
CPPFLAGS_common += -I3rdparty
diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc
index 4aa8906d43..b1cd900afd 100644
--- a/src/vendorcode/amd/pi/Makefile.inc
+++ b/src/vendorcode/amd/pi/Makefile.inc
@@ -62,7 +62,7 @@ AGESA_INC += -I$(src)/southbridge/amd/pi/hudson
AGESA_INC += -I$(src)/arch/x86/include
AGESA_INC += -I$(src)/include
AGESA_INC += -I$(src)/commonlib/include
-AGESA_INC += -I$(VB_SOURCE)/firmware/include
+AGESA_INC += -I$(VBOOT_SOURCE)/firmware/include
AGESA_CFLAGS += -march=amdfam10 -mno-3dnow -fno-zero-initialized-in-bss -fno-strict-aliasing
CFLAGS_x86_32 += $(AGESA_CFLAGS)
diff --git a/src/vendorcode/google/chromeos/vboot2/Makefile.inc b/src/vendorcode/google/chromeos/vboot2/Makefile.inc
index 31889e25a6..bf13fd6103 100644
--- a/src/vendorcode/google/chromeos/vboot2/Makefile.inc
+++ b/src/vendorcode/google/chromeos/vboot2/Makefile.inc
@@ -70,7 +70,7 @@ $(VB2_LIB): $(obj)/config.h
$(Q)FIRMWARE_ARCH=$(VB_FIRMWARE_ARCH) \
CC="$(CC_verstage)" \
CFLAGS="$(VBOOT_CFLAGS)" VBOOT2="y" \
- $(MAKE) -C $(VB_SOURCE) \
+ $(MAKE) -C $(VBOOT_SOURCE) \
BUILD=$(abspath $(dir $(VB2_LIB))) \
V=$(V) \
fwlib20
diff --git a/util/futility/Makefile b/util/futility/Makefile
index f00e2eb975..36f2b317f7 100644
--- a/util/futility/Makefile
+++ b/util/futility/Makefile
@@ -2,7 +2,7 @@ top ?= $(abspath ../..)
objutil ?= $(top)/util
HOSTCC ?= $(CC)
-VB_SOURCE ?= $(top)/3rdparty/vboot
+VBOOT_SOURCE ?= $(top)/3rdparty/vboot
.PHONY: all
all: $(objutil)/futility/futility
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc
index d37be4b497..782953e649 100644
--- a/util/futility/Makefile.inc
+++ b/util/futility/Makefile.inc
@@ -2,7 +2,7 @@ additional-dirs += $(objutil)/futility
$(objutil)/futility/build/futility/futility:
@printf " MAKE $(subst $(objutil)/,,$(@))\n"
- unset CFLAGS LDFLAGS; $(MAKE) -C $(VB_SOURCE) \
+ unset CFLAGS LDFLAGS; $(MAKE) -C $(VBOOT_SOURCE) \
BUILD=$(abspath $@/../..) \
CC="$(HOSTCC)" \
V=$(V) \