rust: Use awk instead of recent xargs
authorMatthew Maurer <mmaurer@google.com>
Thu, 28 Sep 2023 20:49:25 +0000 (20:49 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 15 Oct 2023 19:48:24 +0000 (21:48 +0200)
commit45f97e6385cad6d0e48a27ddcd08793bb4d35851
tree0b3a7d3acc924c8899ce9b05d74579b3615f6920
parente08ff622c91af997cb89bc47e90a1a383e938bd0
rust: Use awk instead of recent xargs

`awk` is already required by the kernel build, and the `xargs` feature
used in current Rust detection is not present in all `xargs` (notably,
toybox based xargs, used in the Android kernel build).

Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Link: https://lore.kernel.org/r/20230928205045.2375899-1-mmaurer@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile