Skip to content

Commit 963187d

Browse files
committed
Avoid -n1 with -I
It is not needed and avoids a warning in some versions of `xargs`. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent d704d50 commit 963187d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ quiet_cmd_exports = EXPORTS $@
8787
cmd_exports = \
8888
$(NM) -p --defined-only $< \
8989
| grep -E ' (T|R|D) ' | cut -d ' ' -f 3 | grep -E '^(__rust_|_R)' \
90-
| xargs -n1 -Isymbol \
90+
| xargs -Isymbol \
9191
echo 'EXPORT_SYMBOL_RUST_GPL(symbol);' > $@
9292

9393
$(objtree)/rust/exports_core_generated.h: $(objtree)/rust/core.o FORCE

0 commit comments

Comments
 (0)