From: Alexey Brodkin Date: Thu, 7 Jul 2016 06:12:26 +0000 (+0300) Subject: hostapd: Install default hostapd.conf on target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13f364daaf8bf34bd6ecebf5f5f3fa237818ff35;p=buildroot.git hostapd: Install default hostapd.conf on target For convenience it's nice to have default hostapd.conf installed on target automatically as a good starting point. Otherwise user has to create it manually from scratch. Signed-off-by: Alexey Brodkin Cc: Thomas Petazzoni i Cc: Peter Korsgaard Cc: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index dca07c1bc5..5aa2b9a9e8 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -86,6 +86,8 @@ define HOSTAPD_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/sbin/hostapd $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ $(TARGET_DIR)/usr/bin/hostapd_cli + $(INSTALL) -m 0644 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd.conf \ + $(TARGET_DIR)/etc/hostapd.conf endef $(eval $(generic-package))