Use DESTDIR when installing hostapd to support cross-compiling

Signed-off-by: Mike Crowe <mac@mcrowe.com>
This commit is contained in:
Mike Crowe 2011-01-30 21:32:44 +02:00 committed by Jouni Malinen
parent df077c6262
commit 590595edba

View file

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