diff --git a/cook.sh b/cook.sh index ee9f98aa6..28e265d43 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 25cf456fe..368be3a89 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 +}