I compiled this for a power pc machine and thought it could
use a couple of additions for easy integration. For what its worth, here it is…
Cheers,
Bruce
diff -Naur
hostapd.orig/Makefile hostapd-0.5.8/Makefile
--- hostapd.orig/Makefile 2007-05-28
19:08:50.000000000 -0700
+++ hostapd-0.5.8/Makefile 2007-07-18
17:00:21.000000000 -0700
 -1,6 +1,11  
-CC=gcc
+CC=$(CROSS_COMPILE)gcc
DIR_WPA_SUPPLICANT=.
+#where to install the
software
+ifndef PREFIX
+PREFIX = /usr/local/bin
+endif
+
ifndef CFLAGS
CFLAGS = -MMD -O2 -Wall -g
endif
 -333,7 +340,7  
fi
install: all
- for i in $(ALL); do cp
$$i /usr/local/bin/$$i; done
+ for i in $(ALL); do cp
$$i $(PREFIX)/$$i; done
hostapd: $(OBJS)
$(CC) -o hostapd $(OBJS) $(LIBS)
|