[Buildroot] [PATCH 03/17] hostapd: ensure hostapd binaries are installed in the right place
llandwerlin at gmail.com
llandwerlin at gmail.com
Wed Dec 8 09:53:55 UTC 2010
From: Lionel Landwerlin <llandwerlin at gmail.com>
Ensure hostapd and hostapd_cli are installed in /usr/bin/ even if the
directory does not exist.
Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
---
package/hostapd/hostapd.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 27689b8..148db63 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -85,8 +85,10 @@ define HOSTAPD_CONFIGURE_CMDS
endef
define HOSTAPD_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/sbin
$(INSTALL) -m 0755 $(@D)/$(HOSTAPD_SUBDIR)/hostapd \
$(TARGET_DIR)/usr/sbin
+ mkdir -p $(TARGET_DIR)/usr/bin
$(INSTALL) -m 0755 $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \
$(TARGET_DIR)/usr/bin
endef
--
1.7.2.3
More information about the buildroot
mailing list