[PATCH v7 5/5] rust: add arch_static_branch
Miguel Ojeda
miguel.ojeda.sandonis at gmail.com
Wed Aug 21 10:54:51 PDT 2024
On Wed, Aug 21, 2024 at 7:08 PM Boqun Feng <boqun.feng at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: objtree.diff
Type: text/x-patch
Size: 1947 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240821/b3234bbe/attachment.bin>
More information about the linux-riscv
mailing list