summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.12.14/xargs.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:45:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:45:38 +0100
commit8a645ead34c86da2fca6d5f3dea060813190bd46 (patch)
tree56d661bfa90485b6bf8f5ee623a42e4ce9d41684 /target/linux/patches/3.12.14/xargs.patch
parentd5976f324b0dc931132c3788279bb3f2c668643e (diff)
parent226d4ec4a7bc14fc599795844c0ecac2faa8d194 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.12.14/xargs.patch')
-rw-r--r--target/linux/patches/3.12.14/xargs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.12.14/xargs.patch b/target/linux/patches/3.12.14/xargs.patch
new file mode 100644
index 000000000..2c7b3df59
--- /dev/null
+++ b/target/linux/patches/3.12.14/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)))
+