mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Remove newlib recipes
We use relibc as libc rather than newlib. The redox newlib fork is also archived.
This commit is contained in:
parent
e057c5aa8a
commit
62c96897c0
@ -1,40 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/newlib.git
|
||||
BRANCH=redox
|
||||
|
||||
function recipe_version {
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
pushd newlib/libc/sys
|
||||
aclocal-1.11 -I ../..
|
||||
autoconf
|
||||
automake-1.11 --cygnus Makefile
|
||||
popd
|
||||
|
||||
pushd newlib/libc/sys/redox
|
||||
aclocal-1.11 -I ../../..
|
||||
autoconf
|
||||
automake-1.11 --cygnus Makefile
|
||||
popd
|
||||
|
||||
CC= ./configure --build=${BUILD} --target="${HOST}" --prefix=/
|
||||
"$REDOX_MAKE" all -j"$($NPROC)"
|
||||
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
"$REDOX_MAKE" clean
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
"$REDOX_MAKE" DESTDIR="$dest" install
|
||||
cd "$dest"
|
||||
mv $HOST/* ./
|
||||
rmdir $HOST
|
||||
skip=1
|
||||
}
|
||||
@ -1,27 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/newlibtest.git
|
||||
BUILD_DEPENDS=(newlib)
|
||||
|
||||
function recipe_version {
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export CFLAGS="-static -nostdinc -I $sysroot/include -I /usr/lib/gcc/x86_64-unknown-redox/7.0.1/include/ -nostdlib -L $sysroot/lib"
|
||||
export CRT="$sysroot/lib/crt0.o"
|
||||
export CLIBS="-lc"
|
||||
"$REDOX_MAKE" all -j"$($NPROC)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
"$REDOX_MAKE" clean
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
"$REDOX_MAKE" DESTDIR="$dest" prefix=/ install
|
||||
skip=1
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user