Change package name

master
WangRunji 7 years ago
parent f7bdfa2913
commit f4091c4d7e

@ -1,7 +1,7 @@
[package]
name = "blog_os"
name = "rust-ucore"
version = "0.1.0"
authors = ["Philipp Oppermann <dev@phil-opp.com>"]
authors = ["Runji Wang <wangrunji0408@163.com>"]
[lib]
crate-type = ["staticlib"]
@ -26,11 +26,8 @@ redox_syscall = "0.1.37"
xmas-elf = "0.6"
arrayvec = { version = "0.4.7", default-features = false }
log = "0.4"
lazy_static = { version = "1.0.0", features = ["spin_no_std"] }
simple-filesystem = { git = "https://github.com/wangrunji0408/SimpleFileSystem-Rust" }
[build-dependencies]
cc = "1.0"
[dependencies.lazy_static]
version = "1.0.0"
features = ["spin_no_std"]

@ -2,7 +2,7 @@ arch ?= x86_64
kernel := build/kernel-$(arch).bin
iso := build/os-$(arch).iso
target ?= $(arch)-blog_os
rust_os := target/$(target)/debug/libblog_os.a
rust_os := target/$(target)/debug/librust_ucore.a
boot_src := src/arch/$(arch)/boot
linker_script := $(boot_src)/linker.ld
@ -103,7 +103,7 @@ innerpwd ?= /root/blog_os
else
uid ?= $(shell id -u)
gid ?= $(shell id -g)
innerpwd ?= pwd
innerpwd ?= $(pwd)
endif
docker_cargo_volume ?= blogos-$(uid)-$(gid)-cargo
docker_rustup_volume ?= blogos-$(uid)-$(gid)-rustup

@ -1,39 +0,0 @@
#!/bin/bash
set -e
VERSION=${QEMU_VERSION:=2.11.1}
ARCHES=${QEMU_ARCHES:=arm aarch64 i386 x86_64}
TARGETS=${QEMU_TARGETS:=$(echo $ARCHES | sed 's#$# #;s#\([^ ]*\) #\1-softmmu \1-linux-user #g')}
if echo "$VERSION $TARGETS" | cmp --silent $HOME/qemu/.build -; then
echo "qemu $VERSION up to date!"
exit 0
fi
echo "VERSION: $VERSION"
echo "TARGETS: $TARGETS"
cd $HOME
rm -rf qemu
# Checking for a tarball before downloading makes testing easier :-)
test -f "qemu-$VERSION.tar.bz2" || wget "http://wiki.qemu-project.org/download/qemu-$VERSION.tar.bz2"
tar -xf "qemu-$VERSION.tar.bz2"
cd "qemu-$VERSION"
./configure \
--prefix="$HOME/qemu" \
--target-list="$TARGETS" \
--disable-docs \
--disable-sdl \
--disable-gtk \
--disable-gnutls \
--disable-gcrypt \
--disable-nettle \
--disable-curses \
--static
make -j4
make install
echo "$VERSION $TARGETS" > $HOME/qemu/.build
Loading…
Cancel
Save