summaryrefslogtreecommitdiff
path: root/target/linux/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-04 09:00:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-04 09:00:28 +0200
commitebfbb2ba9b5e78c8e658132435432c5118979f5c (patch)
treed08658168c36ebbed38071602c52e3e3d38a4b70 /target/linux/patches
parentad42b70ab1584333f1af7dbab303a109ac097366 (diff)
new bcm28xx-bootloader does not work with mknlimg, fix 4.1.20 rpi2 bootup
Diffstat (limited to 'target/linux/patches')
-rw-r--r--target/linux/patches/4.1.20/realtime.patch5
-rw-r--r--target/linux/patches/4.1.20/use-gawk.patch24
2 files changed, 24 insertions, 5 deletions
diff --git a/target/linux/patches/4.1.20/realtime.patch b/target/linux/patches/4.1.20/realtime.patch
index 9ea8309aa..6d8c2ac68 100644
--- a/target/linux/patches/4.1.20/realtime.patch
+++ b/target/linux/patches/4.1.20/realtime.patch
@@ -26274,11 +26274,6 @@ diff -Nur linux-4.1.20.orig/lib/strnlen_user.c linux-4.1.20/lib/strnlen_user.c
*
* Get the size of a NUL-terminated string in user space.
*
-diff -Nur linux-4.1.20.orig/localversion-rt linux-4.1.20/localversion-rt
---- linux-4.1.20.orig/localversion-rt 1970-01-01 01:00:00.000000000 +0100
-+++ linux-4.1.20/localversion-rt 2016-03-21 20:18:34.000000000 +0100
-@@ -0,0 +1 @@
-+-rt22
diff -Nur linux-4.1.20.orig/mm/Kconfig linux-4.1.20/mm/Kconfig
--- linux-4.1.20.orig/mm/Kconfig 2016-03-17 19:11:03.000000000 +0100
+++ linux-4.1.20/mm/Kconfig 2016-03-21 20:18:34.000000000 +0100
diff --git a/target/linux/patches/4.1.20/use-gawk.patch b/target/linux/patches/4.1.20/use-gawk.patch
new file mode 100644
index 000000000..5b312589d
--- /dev/null
+++ b/target/linux/patches/4.1.20/use-gawk.patch
@@ -0,0 +1,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