summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-11-28 17:39:00 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-28 19:01:50 (GMT)
commit689f975e7b196bf7ad2a3cd970444414f2f689d0 (patch)
tree1e5f267bb9d1264f4096c74f6f15807bb2bac885
parentff0f55e381972d57c9fbd818d5b906b2dcb5a368 (diff)
downloadbuildroot-689f975e7b196bf7ad2a3cd970444414f2f689d0.tar.gz
buildroot-689f975e7b196bf7ad2a3cd970444414f2f689d0.tar.bz2
wpa_supplicant: define BINDIR for systemd/dbus service files
BINDIR is used to point systemd/dbus service files to the correct binary path where wpa_supplicant resides. So define it to avoid the default /usr/local path that doesn't work. Solves bug #6704 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 450e10f..4ae41c1 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -137,7 +137,7 @@ endef
define WPA_SUPPLICANT_BUILD_CMDS
$(TARGET_MAKE_ENV) CFLAGS="$(WPA_SUPPLICANT_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" BINDIR=/usr/sbin \
$(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(WPA_SUPPLICANT_SUBDIR)
endef