summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-09-13 21:06:20 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-23 21:06:52 +0300
commitfc1c79be45485565dc145fd03ee38bca89be8fbd (patch)
tree9b1aff30c48880a7763909b50107a1b28391f783 /rust/helpers
parentcc6d281fcc7319babc6dde8f95a8b7feb1eeffd0 (diff)
downloadlinux-fc1c79be45485565dc145fd03ee38bca89be8fbd.tar.xz
kbuild: remove unnecessary export of RUST_LIB_SRC
If RUST_LIB_SRC is defined in the top-level Makefile (via an environment variable or command line), it is already exported. The only situation where it is defined but not exported is when the top-level Makefile is wrapped by another Makefile (e.g., GNUmakefile). I cannot think of any other use cases. I know some people use this tip to define custom variables. However, even in that case, you can export it directly in the wrapper Makefile. Example GNUmakefile: export RUST_LIB_SRC = /path/to/your/sysroot/lib/rustlib/src/rust/library include Makefile Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions