kbuild: modpost: Replace call to xargs
Using xargs is failing on certain build environments. Replace it with the -exec option in find. Change-Id: I70fbf648188405e6410ab4dcdd7a5e68ebad64e1 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
This commit is contained in:
parent
041ae774be
commit
a29e62c577
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ kernelsymfile := $(objtree)/Module.symvers
|
|||
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' -exec grep -h '\.ko$$' {} \; | sort -u
|
||||
__modules := $(shell $(MODLISTCMD))
|
||||
modules := $(patsubst %.o,%.ko, $(wildcard $(__modules:.ko=.o)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue