summaryrefslogtreecommitdiff
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
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>
-rw-r--r--CHANGES3
-rw-r--r--package/hostapd/hostapd.mk10
2 files changed, 7 insertions, 6 deletions
diff --git a/CHANGES b/CHANGES
index e625d5934..2c24609ae 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,7 +4,8 @@
compilation, and cache is stored in ~/.buildroot-ccache.
Updated/fixed packages: busybox, dbus, cloop, gdk-pixbuf,
- libconfig, m4, openssh, openssl, qt, usbutils, xz, zlib
+ hostapd, libconfig, m4, openssh, openssl, qt, usbutils, xz,
+ zlib
New packages: dhrystone, lsuio, rsh-redone, whetstone
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