use-gawk.patch 932 B

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