Skip to content

Commit ff8054f

Browse files
committed
Improve sorting of the build objects
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent cf83f14 commit ff8054f

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

rust/Makefile

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

3-
obj-$(CONFIG_RUST) += helpers.o exports.o
4-
obj-$(CONFIG_RUST) += core.o compiler_builtins.o alloc.o kernel.o
5-
extra-$(CONFIG_RUST) += bindings_generated.rs libmodule.so
6-
extra-$(CONFIG_RUST) += exports_core_generated.h exports_alloc_generated.h
7-
extra-$(CONFIG_RUST) += exports_kernel_generated.h
3+
obj-$(CONFIG_RUST) += core.o
4+
extra-$(CONFIG_RUST) += exports_core_generated.h
5+
6+
obj-$(CONFIG_RUST) += compiler_builtins.o helpers.o
7+
8+
extra-$(CONFIG_RUST) += libmodule.so
9+
10+
extra-$(CONFIG_RUST) += bindings_generated.rs
11+
obj-$(CONFIG_RUST) += alloc.o kernel.o
12+
extra-$(CONFIG_RUST) += exports_alloc_generated.h exports_kernel_generated.h
13+
14+
obj-$(CONFIG_RUST) += exports.o
815

916
RUSTDOC = rustdoc
1017

0 commit comments

Comments
 (0)