File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -338,16 +338,14 @@ $(objtree)/rust/kernel.o: $(srctree)/rust/kernel/lib.rs $(objtree)/rust/alloc.o
338
338
$(objtree)/rust/bindings_helpers_generated.rs FORCE
339
339
$(call if_changed_dep,rustc_library)
340
340
341
- # Targets that need to expand twice
342
- .SECONDEXPANSION :
343
341
$(objtree ) /rust/core.o : private skip_clippy = 1
344
342
$(objtree ) /rust/core.o : private skip_flags = -Dunreachable_pub --edition=2021
345
343
$(objtree ) /rust/core.o : private rustc_target_flags = $(core-cfgs ) --edition=2018
346
- $(objtree ) /rust/core.o : $$ (RUST_LIB_SRC ) /core/src/lib.rs FORCE
344
+ $(objtree ) /rust/core.o : $(RUST_LIB_SRC ) /core/src/lib.rs FORCE
347
345
$(call if_changed_dep,rustc_library)
348
346
349
347
rustdoc-core : private rustc_target_flags = $(core-cfgs )
350
- rustdoc-core : $$ (RUST_LIB_SRC ) /core/src/lib.rs FORCE
348
+ rustdoc-core : $(RUST_LIB_SRC ) /core/src/lib.rs FORCE
351
349
$(call if_changed,rustdoc)
352
350
353
351
endif # CONFIG_RUST
You can’t perform that action at this time.
0 commit comments