Skip to content

Commit 65fe9b0

Browse files
adamrkojeda
andauthored
clean up symbol export regex
Co-authored-by: Miguel Ojeda <ojeda@users.noreply.github.com>
1 parent cb7d7e8 commit 65fe9b0

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
@@ -72,7 +72,7 @@ $(objtree)/rust/bindings_generated.rs: $(srctree)/rust/kernel/bindings_helper.h
7272
quiet_cmd_exports = EXPORTS $@
7373
cmd_exports = \
7474
$(NM) -p --defined-only $< \
75-
| grep -E '( T | R )' | cut -d ' ' -f 3 | grep -E '^(__rust_|_R)' \
75+
| grep -E ' (T|R) ' | cut -d ' ' -f 3 | grep -E '^(__rust_|_R)' \
7676
| xargs -n1 -Isymbol \
7777
echo 'EXPORT_SYMBOL$(exports_target_type)(symbol);' > $@
7878

0 commit comments

Comments
 (0)