Skip to content

Commit 606cf1f

Browse files
committed
rust: Makefile: force compilation of Rust infrastructure in make modules
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent bc479a5 commit 606cf1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rust/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
obj-$(CONFIG_RUST) += core.o compiler_builtins.o helpers.o
4-
extra-$(CONFIG_RUST) += exports_core_generated.h
4+
always-$(CONFIG_RUST) += exports_core_generated.h
55

6-
extra-$(CONFIG_RUST) += libmacros.so
6+
always-$(CONFIG_RUST) += libmacros.so
77

8-
extra-$(CONFIG_RUST) += bindings_generated.rs bindings_helpers_generated.rs
8+
always-$(CONFIG_RUST) += bindings_generated.rs bindings_helpers_generated.rs
99
obj-$(CONFIG_RUST) += alloc.o kernel.o
10-
extra-$(CONFIG_RUST) += exports_alloc_generated.h exports_kernel_generated.h
10+
always-$(CONFIG_RUST) += exports_alloc_generated.h exports_kernel_generated.h
1111

1212
ifdef CONFIG_RUST_BUILD_ASSERT_DENY
13-
extra-$(CONFIG_RUST) += build_error.o
13+
always-$(CONFIG_RUST) += build_error.o
1414
else
1515
obj-$(CONFIG_RUST) += build_error.o
1616
endif

0 commit comments

Comments
 (0)