mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 20:34:17 +08:00
Do not build in a subdirectory
This commit is contained in:
parent
3582d358b7
commit
d7d187b637
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user