gdb: update to 8.0.1
[openadk.git] / target / linux / patches / 3.16.48 / xargs.patch
blob2c7b3df59e450f8f5ae1cefa7e8a5dc55fab981b
1 diff -Nur linux-3.12.6.orig/scripts/Makefile.modpost linux-3.12.6/scripts/Makefile.modpost
2 --- linux-3.12.6.orig/scripts/Makefile.modpost 2013-12-20 16:51:33.000000000 +0100
3 +++ linux-3.12.6/scripts/Makefile.modpost 2014-01-25 14:55:33.000000000 +0100
4 @@ -60,7 +60,7 @@
5 modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers
7 # Step 1), find all modules listed in $(MODVERDIR)/
8 -MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs -r grep -h '\.ko$$' | sort -u
9 +MODLISTCMD := find $(MODVERDIR) -name '*.mod' | xargs grep -h '\.ko$$' | sort -u
10 __modules := $(shell $(MODLISTCMD))
11 modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o)))