diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-05-25 18:46:22 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-05-26 08:35:52 +0200 |
commit | e388ef7d42d4f91b4eed88305ea00c6005ae90a5 (patch) | |
tree | 87e7dcd2bd842e765b34587a1486f73de2e45fa4 /rules/ca-certificates.make | |
parent | c337ebd005128a5c08e84ef02c3d70e5213223d6 (diff) | |
download | ptxdist-e388ef7d42d4f91b4eed88305ea00c6005ae90a5.tar.gz ptxdist-e388ef7d42d4f91b4eed88305ea00c6005ae90a5.tar.xz |
rules: minimize $(shell ..) usage during startup
These call take time and make things like 'ptxdist print ...' noticeably
slower.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ca-certificates.make')
-rw-r--r-- | rules/ca-certificates.make | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/ca-certificates.make b/rules/ca-certificates.make index 0770411f7..613aae716 100644 --- a/rules/ca-certificates.make +++ b/rules/ca-certificates.make @@ -26,8 +26,9 @@ CA_CERTIFICATES_URL := https://hg.mozilla.org/releases/mozilla-release/raw-file CA_CERTIFICATES_SOURCE := $(SRCDIR)/certdata-$(CA_CERTIFICATES_VERSION).$(CA_CERTIFICATES_SUFFIX) CA_CERTIFICATES_DIR := $(BUILDDIR)/$(CA_CERTIFICATES) CA_CERTIFICATES_LICENSE := MPL-2.0 -CA_CERTIFICATES_CERTDATA2PEM := $(shell ptxd_in_path PTXDIST_PATH_SCRIPTS certdata2pem.py && echo "$${ptxd_reply}") -CA_CERTIFICATES_BLACKLIST := $(shell ptxd_get_alternative config/ca-certificates blacklist.txt && echo "$${ptxd_reply}") +# Use '=' to delay $(shell ...) calls until this is needed +CA_CERTIFICATES_CERTDATA2PEM = $(shell ptxd_in_path PTXDIST_PATH_SCRIPTS certdata2pem.py && echo "$${ptxd_reply}") +CA_CERTIFICATES_BLACKLIST = $(shell ptxd_get_alternative config/ca-certificates blacklist.txt && echo "$${ptxd_reply}") # ---------------------------------------------------------------------------- # Extract |