summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.12.59/xargs.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-28 11:03:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-28 11:03:52 +0200
commitf2afe17a12c604dd9e31c96d1a9182afe7800a3a (patch)
tree6c869d176d5c03bf8fb00dea811b2e84c7d23534 /target/linux/patches/3.12.59/xargs.patch
parentda931b803e57a901a6f4e116a73ab86f89039009 (diff)
linux: bump all kernels
Diffstat (limited to 'target/linux/patches/3.12.59/xargs.patch')
-rw-r--r--target/linux/patches/3.12.59/xargs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.12.59/xargs.patch b/target/linux/patches/3.12.59/xargs.patch
new file mode 100644
index 000000000..2c7b3df59
--- /dev/null
+++ b/target/linux/patches/3.12.59/xargs.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.12.6.orig/scripts/Makefile.modpost linux-3.12.6/scripts/Makefile.modpost
+--- linux-3.12.6.orig/scripts/Makefile.modpost 2013-12-20 16:51:33.000000000 +0100
++++ linux-3.12.6/scripts/Makefile.modpost 2014-01-25 14:55:33.000000000 +0100
+@@ -60,7 +60,7 @@
+ modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers
+
+ # Step 1), find all modules listed in $(MODVERDIR)/
+-MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs -r grep -h '\.ko$$' | sort -u
++MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs grep -h '\.ko$$' | sort -u
+ __modules := $(shell $(MODLISTCMD))
+ modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o)))
+