summaryrefslogtreecommitdiffstats
path: root/rules/hostapd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-05-25 18:46:22 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-05-26 08:35:52 +0200
commite388ef7d42d4f91b4eed88305ea00c6005ae90a5 (patch)
tree87e7dcd2bd842e765b34587a1486f73de2e45fa4 /rules/hostapd.make
parentc337ebd005128a5c08e84ef02c3d70e5213223d6 (diff)
downloadptxdist-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/hostapd.make')
-rw-r--r--rules/hostapd.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/hostapd.make b/rules/hostapd.make
index 26d7ea47c..14d71c549 100644
--- a/rules/hostapd.make
+++ b/rules/hostapd.make
@@ -26,7 +26,8 @@ HOSTAPD_URL := http://w1.fi/releases/$(HOSTAPD).$(HOSTAPD_SUFFIX)
HOSTAPD_SOURCE := $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX)
HOSTAPD_DIR := $(BUILDDIR)/$(HOSTAPD)
HOSTAPD_SUBDIR := $(HOSTAPD_NAME)
-HOSTAPD_DEFCONF := $(shell ptxd_get_alternative config/hostapd defconfig && echo $$ptxd_reply)
+# Use '=' to delay $(shell ...) calls until this is needed
+HOSTAPD_DEFCONF = $(shell ptxd_get_alternative config/hostapd defconfig && echo $$ptxd_reply)
HOSTAPD_CONFIG := $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config
HOSTAPD_LICENSE := BSD-3-Clause
HOSTAPD_LICENSE_FILES := \