summaryrefslogtreecommitdiffstats
path: root/rules/hostapd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-10-07 10:46:21 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-07 18:27:57 +0200
commit3722faf34c027c1f2963e6748a046e2d9fc6a2ab (patch)
tree3736ec334c3e087857c82b636c34bc98841bb710 /rules/hostapd.make
parent1859ad34bdc0730df8f560f3f82223ad4e136694 (diff)
downloadptxdist-3722faf34c027c1f2963e6748a046e2d9fc6a2ab.tar.gz
ptxdist-3722faf34c027c1f2963e6748a046e2d9fc6a2ab.tar.xz
hostapd: rename config file variables
HOSTAPD_CONFIG should be the source. kconfig and image package use the same name. This is necessary to make automatic dependencies possible. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/hostapd.make')
-rw-r--r--rules/hostapd.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/hostapd.make b/rules/hostapd.make
index 22c5766a0..dfb6f90ee 100644
--- a/rules/hostapd.make
+++ b/rules/hostapd.make
@@ -27,8 +27,8 @@ HOSTAPD_SOURCE := $(SRCDIR)/$(HOSTAPD).$(HOSTAPD_SUFFIX)
HOSTAPD_DIR := $(BUILDDIR)/$(HOSTAPD)
HOSTAPD_SUBDIR := $(HOSTAPD_NAME)
# Use '=' to delay $(shell ...) calls until this is needed
-HOSTAPD_DEFCONF = $(call ptx/get-alternative, config/hostapd, defconfig)
-HOSTAPD_CONFIG := $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config
+HOSTAPD_CONFIG = $(call ptx/get-alternative, config/hostapd, defconfig)
+HOSTAPD_DOTCONFIG := $(BUILDDIR)/$(HOSTAPD)/$(HOSTAPD_SUBDIR)/.config
HOSTAPD_LICENSE := BSD-3-Clause
HOSTAPD_LICENSE_FILES := \
file://COPYING;md5=292eece3f2ebbaa25608eed8464018a3 \
@@ -46,7 +46,7 @@ $(STATEDIR)/hostapd.prepare:
@$(call targetinfo)
# # run 'make clean' as hostapd's build system does not recognize config changes
@-$(HOSTAPD_MAKE_ENV) $(MAKE) -C $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR) clean
- @cp $(HOSTAPD_DEFCONF) $(HOSTAPD_CONFIG)
+ @cp $(HOSTAPD_CONFIG) $(HOSTAPD_DOTCONFIG)
@$(call touch)
# ----------------------------------------------------------------------------