summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2010-12-09 10:55:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-13 00:15:10 +0100
commit1696823707d50530136bc872f36a9810a03910bb (patch)
tree4453fa80d68f6cfaa4ccf1eb0d534e49469a89e0 /package/hostapd
parent732cb780eeace7306702d3dedb7f54b47ef134ef (diff)
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 <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/hostapd.mk10
1 files changed, 5 insertions, 5 deletions
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