Commit 16968237 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Peter Korsgaard
Browse files

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: default avatarLionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 732cb780
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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

+5 −5
Original line number Diff line number Diff line
@@ -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