From 1696823707d50530136bc872f36a9810a03910bb Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 9 Dec 2010 10:55:01 +0100 Subject: hostapd: ensure hostapd binaries are installed in the right place Ensure hostapd and hostapd_cli are installed in /usr/bin/ even if the directory does not exist. Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- package/hostapd/hostapd.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'package') diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 27689b8fc..4c9506670 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -74,7 +74,7 @@ define HOSTAPD_CONFIGURE_CMDS $(SED) "s/^#CONFIG_DRIVER_WIRED/CONFIG_DRIVER_WIRED/" $(HOSTAPD_CONFIG) $(SED) "s/^#CONFIG_DRIVER_NL80211/CONFIG_DRIVER_NL80211/" $(HOSTAPD_CONFIG) # Misc - $(SED) "s/^CONFIG_IPV6/#CONFIG_IPV6/" $(HOSTAPD_CONFIG) + $(SED) "s/^CONFIG_IPV6/#CONFIG_IPV6/" $(HOSTAPD_CONFIG) $(SED) "s/^#CONFIG_IEEE80211N/CONFIG_IEEE80211N/" $(HOSTAPD_CONFIG) $(SED) "s/^#CONFIG_IEEE80211R/CONFIG_IEEE80211R/" $(HOSTAPD_CONFIG) $(HOSTAPD_CRYPTO_CONFIG) @@ -85,10 +85,10 @@ define HOSTAPD_CONFIGURE_CMDS endef define HOSTAPD_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ - $(TARGET_DIR)/usr/sbin - $(INSTALL) -m 0755 $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ - $(TARGET_DIR)/usr/bin + $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ + $(TARGET_DIR)/usr/sbin/hostapd + $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ + $(TARGET_DIR)/usr/bin/hostapd_cli endef define HOSTAPD_UNINSTALL_TARGET_CMDS -- cgit v1.2.3