From 3722faf34c027c1f2963e6748a046e2d9fc6a2ab Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sun, 7 Oct 2018 10:46:21 +0200 Subject: 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 --- rules/hostapd.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rules/hostapd.make') 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) # ---------------------------------------------------------------------------- -- cgit v1.2.3