summaryrefslogtreecommitdiff
path: root/recipes/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/dumb-hack-for-wlan-ng.patch
blob: 2c412fdbb36c3ded21415ce79928571b2dd2c142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- linux/arch/arm/tools/Makefile~dumb-hack-for-wlan-ng
+++ linux/arch/arm/tools/Makefile
@@ -16,7 +16,7 @@
 # any errors that occur along the way.
 
 constants.h: constants-hdr getconstants.c
-	$(CC) $(CFLAGS) -S -o $@.tmp.1 getconstants.c
+	arm-linux-gcc-2.95 $(CFLAGS) -S -o $@.tmp.1 getconstants.c
 	sed 's/^\(#define .* \)[#$$]\(.*\)/\1\2/;/^#define/!d' $@.tmp.1 > $@.tmp.2
 	cat constants-hdr $@.tmp.2 > $@
 	$(RM) $@.tmp*