|
|
|
@ -14,9 +14,8 @@
|
|
|
|
|
# version.
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
|
|
diff -ruN hostapd-0.6.10-orig/hostapd/Makefile hostapd-0.6.10/hostapd/Makefile
|
|
|
|
|
--- hostapd-0.6.10-orig/hostapd/Makefile 2010-01-12 15:55:02.000000000 +0100
|
|
|
|
|
+++ hostapd-0.6.10/hostapd/Makefile 2010-08-04 17:40:45.320090875 +0200
|
|
|
|
|
--- hostapd-0.7.2/hostapd/Makefile.orig 2010-04-18 18:15:07.000000000 +0200
|
|
|
|
|
+++ hostapd-0.7.2/hostapd/Makefile 2010-08-05 16:45:12.796003326 +0200
|
|
|
|
|
@@ -1,3 +1,6 @@
|
|
|
|
|
+DESTDIR =
|
|
|
|
|
+prefix = /usr/local
|
|
|
|
@ -24,12 +23,12 @@ diff -ruN hostapd-0.6.10-orig/hostapd/Makefile hostapd-0.6.10/hostapd/Makefile
|
|
|
|
|
ifndef CC
|
|
|
|
|
CC=gcc
|
|
|
|
|
endif
|
|
|
|
|
@@ -577,7 +580,7 @@
|
|
|
|
|
@@ -729,7 +732,7 @@
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
- for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
|
|
|
|
|
+ for i in $(ALL); do cp $$i $(DESTDIR)/$(prefix)/bin/$$i; done
|
|
|
|
|
- for i in $(ALL); do cp -f $$i /usr/local/bin/$$i; done
|
|
|
|
|
+ for i in $(ALL); do cp -f $$i $(DESTDIR)/$(prefix)/bin/$$i; done
|
|
|
|
|
|
|
|
|
|
hostapd: $(OBJS)
|
|
|
|
|
$(CC) -o hostapd $(OBJS) $(LIBS)
|
|
|
|
|
../src/drivers/build.hostapd:
|
|
|
|
|
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \
|
|
|
|
|