mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Move all app common files under apps/common
This commit is contained in:
parent
60f362b819
commit
5bd6a32013
31 changed files with 49 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue