From 3caf8dedd07316004e7c7fe47a7c771863ed08a2 Mon Sep 17 00:00:00 2001 From: eupn Date: Thu, 9 Mar 2023 20:16:52 +0400 Subject: [PATCH] loader: split debug and asm modules between arm and riscv --- loader/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loader/src/main.rs b/loader/src/main.rs index 6f21ef7f9..ea898ca1f 100644 --- a/loader/src/main.rs +++ b/loader/src/main.rs @@ -4,10 +4,14 @@ #[macro_use] mod args; use args::{KernelArgument, KernelArguments}; + +#[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/debug.rs")] mod debug; mod fonts; #[cfg(feature="secboot")] mod secboot; + +#[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/asm.rs")] mod asm; #[cfg_attr(feature = "atsama5d27", path = "platform/atsama5d27/consts.rs")] mod consts;