diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-04-11 13:06:35 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-13 01:32:05 -0700 |
commit | 79a76d201579fb1b6b48931de1eabe2f968c1070 (patch) | |
tree | d583a37bea5fdc760883840ffee6c80c22f215c3 | |
parent | 516732f868a0c4bade1e718875b3779d3361c72f (diff) | |
download | vboot-79a76d201579fb1b6b48931de1eabe2f968c1070.tar.gz |
build: Evaluate YAML_LIBS and LZMA_LIBS lazily
No need to check for a package that is only needed for a few targets.
BUG=chromium:683381
TEST=no more "Package yaml-0.1 was not found in the pkg-config search
path." when emerge'ing sys-boot/coreboot
Change-Id: I56cacea59d9ac13ee3ba587e475e1ff451e535a9
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1564472
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -632,8 +632,8 @@ UTIL_NAMES += \ utility/signature_digest_utility \ utility/verify_data -LZMA_LIBS := $(shell ${PKG_CONFIG} --libs liblzma) -YAML_LIBS := $(shell ${PKG_CONFIG} --libs yaml-0.1) +LZMA_LIBS = $(shell ${PKG_CONFIG} --libs liblzma) +YAML_LIBS = $(shell ${PKG_CONFIG} --libs yaml-0.1) endif UTIL_BINS_STATIC := $(addsuffix _s,$(addprefix ${BUILD}/,${UTIL_NAMES_STATIC})) |