nkf_2.07.bb: merged native and non-native recipes
[openembedded.git] / recipes / hostap / hostap-daemon / makefile-cross.diff
blob25d2ca34bb5e24ca0ad2f535c40043f4d04576b2
1 --- Makefile.orig 2005-03-18 14:34:27.274376504 +0100
2 +++ Makefile 2005-03-18 14:35:56.609795456 +0100
3 @@ -1,7 +1,9 @@
4 -CC=gcc
5 +CC?=gcc
6 DIR_WPA_SUPPLICANT=.
7 DIR_HOSTAP=.
9 +TARGET_PREFIX ?= /usr/local/bin/
11 ifndef CFLAGS
12 CFLAGS = -MMD -O2 -Wall -g
13 endif
14 @@ -170,10 +172,10 @@
17 install: all
18 - for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
19 + for i in $(ALL); do cp $$i $(TARGET_PREFIX)/$$i; done
21 hostapd: $(OBJS)
22 - $(CC) -o hostapd $(OBJS) $(LIBS)
23 + $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
25 driver_conf.c: Makefile .config
26 rm -f driver_conf.c