aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2011-01-30 19:32:44 (GMT)
committerJouni Malinen <j@w1.fi>2011-01-30 19:32:44 (GMT)
commit590595edba2071b8b5212553557178181d0bc11b (patch)
treeb579af9c1c56b1fd31418ba3cd8728a7d0e88d86 /hostapd
parentdf077c6262f5a49ee9208041b05d639f20a61a26 (diff)
downloadhostap-590595edba2071b8b5212553557178181d0bc11b.zip
hostap-590595edba2071b8b5212553557178181d0bc11b.tar.gz
hostap-590595edba2071b8b5212553557178181d0bc11b.tar.bz2
Use DESTDIR when installing hostapd to support cross-compiling
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index a99ebc0..ca031de 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -765,7 +765,7 @@ verify_config:
fi
install: all
- for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
+ for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/local/bin/$$i; done
../src/drivers/build.hostapd:
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \