parent
f819a702c7
commit
935bcb3e15
@ -1,6 +1,7 @@
|
||||
[workspace]
|
||||
[package]
|
||||
name = "ucore-user-programs"
|
||||
version = "0.1.0"
|
||||
authors = ["Runji Wang <wangrunji0408@163.com>"]
|
||||
|
||||
members = [
|
||||
"ucore-ulib",
|
||||
"hello",
|
||||
]
|
||||
[dependencies]
|
||||
"ucore-ulib" = { path = "ucore-ulib" }
|
@ -1,2 +1,5 @@
|
||||
# arch = {riscv32, x86_64}
|
||||
arch := riscv32
|
||||
|
||||
all:
|
||||
@RUST_TARGET_PATH=$(pwd) xargo build --target x86_64-blog_os
|
||||
@RUST_TARGET_PATH=$(shell pwd) xargo build --target $(arch)-ucore
|
@ -1,7 +0,0 @@
|
||||
[package]
|
||||
name = "hello"
|
||||
version = "0.1.0"
|
||||
authors = ["WangRunji <wangrunji0408@163.com>"]
|
||||
|
||||
[dependencies]
|
||||
ucore-ulib = { path = "../ucore-ulib" }
|
Loading…
Reference in new issue