mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 20:34:17 +08:00
Fix pkgutils build
This commit is contained in:
parent
0b2585a5cb
commit
96e276d04c
@ -7,4 +7,3 @@ export TARGET=x86_64-unknown-redox
|
||||
# Automatic variables
|
||||
ROOT="$(cd `dirname "$0"` && pwd)"
|
||||
REPO="$ROOT/repo/$TARGET"
|
||||
export CC="x86_64-elf-redox-gcc"
|
||||
|
||||
2
cook.sh
2
cook.sh
@ -200,7 +200,7 @@ function op {
|
||||
echo "target = \"$TARGET\"" >> "stage.toml"
|
||||
mkdir -p stage/pkg
|
||||
cp -v stage.toml "stage/pkg/$1.toml"
|
||||
TARGET=x86_64-unknown-redox cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
|
||||
cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
|
||||
;;
|
||||
untar)
|
||||
rm -rfv stage.tar stage.sig stage.toml
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
VERSION=5.3.1
|
||||
TAR=http://www.lua.org/ftp/lua-$VERSION.tar.gz
|
||||
|
||||
HOST=x86_64-elf-redox
|
||||
|
||||
function recipe_version {
|
||||
echo "$VERSION"
|
||||
return 1
|
||||
@ -12,7 +14,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
make generic CC="$CC -std=gnu99"
|
||||
make generic CC="${HOST}-gcc -std=gnu99"
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
GIT=https://github.com/redox-os/newlib.git
|
||||
BRANCH=redox
|
||||
|
||||
CC=
|
||||
|
||||
HOST=x86_64-elf-redox
|
||||
|
||||
function recipe_version {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user