summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.1.39/use-gawk.patch
blob: 5b312589db61d8f2f79382a1b66b6bf975cfb304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Nur linux-4.1.20.orig/Makefile linux-4.1.20/Makefile
--- linux-4.1.20.orig/Makefile	2016-03-17 19:11:03.000000000 +0100
+++ linux-4.1.20/Makefile	2016-04-02 13:24:23.000000000 +0200
@@ -359,7 +359,7 @@
 STRIP		= $(CROSS_COMPILE)strip
 OBJCOPY		= $(CROSS_COMPILE)objcopy
 OBJDUMP		= $(CROSS_COMPILE)objdump
-AWK		= awk
+AWK		= gawk
 GENKSYMS	= scripts/genksyms/genksyms
 INSTALLKERNEL  := installkernel
 DEPMOD		= /sbin/depmod
diff -Nur linux-4.1.20.orig/lib/raid6/test/Makefile linux-4.1.20/lib/raid6/test/Makefile
--- linux-4.1.20.orig/lib/raid6/test/Makefile	2016-03-17 19:11:03.000000000 +0100
+++ linux-4.1.20/lib/raid6/test/Makefile	2016-04-02 09:45:15.000000000 +0200
@@ -7,7 +7,7 @@
 OPTFLAGS = -O2			# Adjust as desired
 CFLAGS	 = -I.. -I ../../../include -g $(OPTFLAGS)
 LD	 = ld
-AWK	 = awk -f
+AWK	 = gawk -f
 AR	 = ar
 RANLIB	 = ranlib
 OBJS	 = int1.o int2.o int4.o int8.o int16.o int32.o recov.o algos.o tables.o