From 79a76d201579fb1b6b48931de1eabe2f968c1070 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 11 Apr 2019 13:06:35 +0200 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1564472 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Patrick Georgi Reviewed-by: Julius Werner --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0061a01d..a3b4a808 100644 --- a/Makefile +++ b/Makefile @@ -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})) -- cgit v1.2.1