mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-01 08:48:20 +00:00
parent
bb3e9300f6
commit
3ba61a2ddf
@ -147,7 +147,7 @@ $(LIB_A): $(OBJECTS)
|
||||
$(MSG_MERGE)$(LIB_A)
|
||||
$(VERBOSE)$(RM) -f $@
|
||||
$(VERBOSE)$(AR) -rcs $@ $(OBJECTS)
|
||||
#
|
||||
#
|
||||
# Rename from object to rlib
|
||||
#
|
||||
$(LIB_RLIB): $(OBJECTS)
|
||||
|
@ -1,5 +1,5 @@
|
||||
LIBS = libcore-rust liblibc-rust
|
||||
CC_RUSTC_OPT += --allow unused_features
|
||||
RLIB = liballoc_genode
|
||||
SRC_RS = lib.rs
|
||||
SRC_RS = lib.rs
|
||||
vpath % $(REP_DIR)/src/lib/rust/$(RLIB)
|
||||
|
@ -1,3 +1,3 @@
|
||||
SRC_RS = lib.rs
|
||||
SRC_RS = lib.rs
|
||||
LIBS = libcore-rust
|
||||
vpath % $(REP_DIR)/src/lib/rust/libunwind
|
||||
|
@ -12,13 +12,13 @@ install_config {
|
||||
<default-route>
|
||||
<any-service> <parent/> </any-service>
|
||||
</default-route>
|
||||
<start name="rust-test">
|
||||
<start name="test-rust">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
|
||||
build_boot_image "core init rust-test ld.lib.so libc.lib.so"
|
||||
build_boot_image "core init test-rust ld.lib.so libc.lib.so"
|
||||
|
||||
append qemu_args "-nographic -m 64"
|
||||
|
@ -5,7 +5,7 @@ macro_rules! dmb {
|
||||
}}
|
||||
}
|
||||
|
||||
#[cfg(target_env = "armv6")]
|
||||
#[cfg(target_env = "armv6")]
|
||||
macro_rules! dmb {
|
||||
() => {{
|
||||
asm!("MCR p15,0,r0,c7,c10,4");
|
||||
|
@ -1,4 +1,4 @@
|
||||
TARGET = rust-test
|
||||
TARGET = test-rust
|
||||
SRC_RS = main.rs
|
||||
SRC_CC = printf.cc
|
||||
LIBS = libcore-rust libcollections-rust base librustc_unicode-rust liballoc-rust liblibc-rust liballoc_system-rust
|
Loading…
x
Reference in New Issue
Block a user