Fix pkgutils build

This commit is contained in:
Jeremy Soller 2017-06-04 20:25:49 -06:00
parent 0b2585a5cb
commit 96e276d04c
4 changed files with 4 additions and 5 deletions

View File

@ -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"

View File

@ -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

View File

@ -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
}

View File

@ -1,8 +1,6 @@
GIT=https://github.com/redox-os/newlib.git
BRANCH=redox
CC=
HOST=x86_64-elf-redox
function recipe_version {