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>
This commit is contained in:
Lionel Landwerlin 2010-12-09 10:55:01 +01:00 committed by Peter Korsgaard
parent 732cb780ee
commit 1696823707
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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