Skip to content
Snippets Groups Projects
Commit d7d187b6 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Do not build in a subdirectory

parent 3582d358
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,7 @@ function recipe_build { ...@@ -34,9 +34,7 @@ function recipe_build {
autoconf2.64 autoconf2.64
popd popd
mkdir build ./configure --host=${HOST} --target=${HOST} --prefix=/ --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c --without-headers
cd build
../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 make all-gcc all-target-libgcc
skip=1 skip=1
} }
...@@ -47,14 +45,12 @@ function recipe_test { ...@@ -47,14 +45,12 @@ function recipe_test {
} }
function recipe_clean { function recipe_clean {
cd build
make clean make clean
skip=1 skip=1
} }
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
cd build
make DESTDIR="$dest" install-gcc install-target-libgcc make DESTDIR="$dest" install-gcc install-target-libgcc
skip=1 skip=1
} }
...@@ -24,9 +24,7 @@ function recipe_update { ...@@ -24,9 +24,7 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
mkdir build ./configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/usr/x86_64-elf-redox --disable-gdb --disable-nls --disable-werror
cd build
../configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/usr/x86_64-elf-redox --disable-gdb --disable-nls --disable-werror
make make
skip=1 skip=1
} }
...@@ -37,14 +35,12 @@ function recipe_test { ...@@ -37,14 +35,12 @@ function recipe_test {
} }
function recipe_clean { function recipe_clean {
cd build
make clean make clean
skip=1 skip=1
} }
function recipe_stage { function recipe_stage {
dest="$(realpath $1)" dest="$(realpath $1)"
cd build
make DESTDIR="$dest" install make DESTDIR="$dest" install
skip=1 skip=1
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment