diff options
author | Mathew King <mathewk@chromium.org> | 2019-02-11 10:27:59 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-22 18:23:43 -0800 |
commit | 9d6dc0d222418f90f5080f6c25cd06ca14abf48b (patch) | |
tree | 77c8aa1f55543be4ac6da3b96f38d111e276d3e0 /Makefile | |
parent | af26dc17173d82c75821cf5385054a3b3b17165d (diff) | |
download | vboot-firmware-atlas-11827.12.B.tar.gz |
vboot: Add ui for setting vendor data in VPDfirmware-atlas-11827.12.B
BUG=b:124297157
TEST=make runtest
test on device
BRANCH=none
CQ-DEPEND=CL:1466822
Change-Id: Ic3b1b502b1aff14a795397da3024f8a12eb04775
Reviewed-on: https://chromium-review.googlesource.com/1466290
Commit-Ready: Mathew King <mathewk@chromium.org>
Tested-by: Mathew King <mathewk@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -163,6 +163,7 @@ else # FIRMWARE_ARCH not defined; assuming local compile. CC ?= gcc CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall ${WERROR} ${DEBUG_FLAGS} +CHROMEOS_ENVIRONMENT = 1 endif ifneq (${DEBUG},) @@ -411,6 +412,14 @@ VBINIT_SRCS += \ firmware/lib/tpm_lite/mocked_tlcl.c endif +ifneq (${VENDOR_DATA_LENGTH},) +CFLAGS += -DVENDOR_DATA_LENGTH=${VENDOR_DATA_LENGTH} +else ifeq (${CHROMEOS_ENVIRONMENT},1) +CFLAGS += -DVENDOR_DATA_LENGTH=4 +else +CFLAGS += -DVENDOR_DATA_LENGTH=0 +endif + ifeq (${FIRMWARE_ARCH},) # Include BIOS stubs in the firmware library when compiling for host # TODO: split out other stub funcs too |