diff --git a/recipes/gcc/recipe.sh b/recipes/gcc/recipe.sh index a40cf054f19a43da4f5996cab6f1a5fe9a3c9507..d5415f2bbf5444ee0327d1f89bf99a37e3f1fb9a 100644 --- a/recipes/gcc/recipe.sh +++ b/recipes/gcc/recipe.sh @@ -34,9 +34,7 @@ function recipe_build { autoconf2.64 popd - mkdir build - cd build - ../configure --host=${HOST} --target=${HOST} --prefix=/ --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers + ./configure --host=${HOST} --target=${HOST} --prefix=/ --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers make all-gcc all-target-libgcc skip=1 } @@ -47,14 +45,12 @@ function recipe_test { } function recipe_clean { - cd build make clean skip=1 } function recipe_stage { dest="$(realpath $1)" - cd build make DESTDIR="$dest" install-gcc install-target-libgcc skip=1 } diff --git a/recipes/gnu-binutils/recipe.sh b/recipes/gnu-binutils/recipe.sh index 0c6e98ff307a7a038cd60db0d7056bed5a476c51..7dece881b4d34d36d822553a703e270aca75205d 100644 --- a/recipes/gnu-binutils/recipe.sh +++ b/recipes/gnu-binutils/recipe.sh @@ -24,9 +24,7 @@ function recipe_update { } function recipe_build { - mkdir build - cd build - ../configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/usr/x86_64-elf-redox --disable-gdb --disable-nls --disable-werror + ./configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/usr/x86_64-elf-redox --disable-gdb --disable-nls --disable-werror make skip=1 } @@ -37,14 +35,12 @@ function recipe_test { } function recipe_clean { - cd build make clean skip=1 } function recipe_stage { dest="$(realpath $1)" - cd build make DESTDIR="$dest" install skip=1 }