diff --git a/cook.sh b/cook.sh index ee9f98aa616df5755e893f40de63e154543aad04..28e265d43307b4b6805c123cdaac44557c5beaa1 100755 --- a/cook.sh +++ b/cook.sh @@ -4,7 +4,7 @@ export TARGET=x86_64-unknown-redox # Automatic variables -ROOT="$PWD" +ROOT="$(cd `dirname "$0"` && pwd)" REPO="$ROOT/repo/$TARGET" export CC="$ROOT/libc-artifacts/gcc.sh" @@ -148,9 +148,9 @@ function op { if [ -n "$1" ] then - if [ -d "recipes/$1" ] + if [ -d "$ROOT/recipes/$1" ] then - cd "recipes/$1" + cd "$ROOT/recipes/$1" source recipe.sh for arg in "${@:2}" do diff --git a/recipes/uutils/recipe.sh b/recipes/uutils/recipe.sh index 25cf456fe4ad6f00a0c64caacbb45eedd38393cf..368be3a898ecacf11b7a0517f4587631cb5b610b 100644 --- a/recipes/uutils/recipe.sh +++ b/recipes/uutils/recipe.sh @@ -1 +1,7 @@ GIT=https://github.com/uutils/coreutils.git +CARGOFLAGS="--no-default-features --features=generic" + +function recipe_build { + echo "Skipping build of uutils" + return 1 +}