Move all app common files under apps/common

This commit is contained in:
Toby Jaffey 2025-12-12 15:45:17 +00:00
parent 60f362b819
commit 5bd6a32013
31 changed files with 49 additions and 49 deletions

View file

@ -10,4 +10,4 @@ clean: clean_common
test: all
${TOPDIR}/host/host ${PROJECT}.bin
include ${TOPDIR}/apps/makefile.common
include ${TOPDIR}/apps/common/makefile.common

View file

@ -3,7 +3,7 @@ use std::path::PathBuf;
fn main() {
// linker
println!("cargo:rustc-link-arg-bin=rust-hello=-T../linker.ld");
println!("cargo:rustc-link-arg-bin=rust-hello=-T../common/linker.ld");
let bindings = bindgen::Builder::default()
.header("../../common/uvm32_sys.h")

View file

@ -9,7 +9,7 @@ use core::panic::PanicInfo;
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
// startup code
global_asm!(include_str!("../../crt0.S"));
global_asm!(include_str!("../../common/crt0.S"));
fn syscall(id: u32, param1: u32, param2: u32) -> u32 {
let mut value;