On Wed, Aug 21, 2024 at 7:08 PM Boqun Feng [off-list ref] wrote:
Have you try this with "make O=<dir>"? I hit the following issue, but I
am rebasing on rust-dev, so I might miss something:
error: couldn't read ../rust/kernel/arch_static_branch_asm.rs: No such file or directory (os error 2)
--> ../rust/kernel/jump_label.rs:39:17
|
39 | const _: &str = include!("arch_static_branch_asm.rs");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 1 previous error
Yeah, we should use a `*TREE` everywhere. In addition, we should not
use `SRCTREE` but `OBJTREE`. It is my fault, this comes from my
prototype I gave Alice.
Please see the attached diff.
Cheers,
Miguel