deleted config folder

This commit is contained in:
ag-tsotetsi
2026-02-20 15:00:58 +02:00
parent 1b8d8766ca
commit 9d239743e5
2 changed files with 0 additions and 45 deletions

View File

@@ -1,9 +0,0 @@
export SYSROOT="$PWD/sysroot"
export MAKEFLAGS=-j$(nproc)
export LC_ALL=POSIX
export TARGET=x86_64-axe-linux-gnu
export SOURCES="$PWD/sources"
export PATH="$SYSROOT/cross/bin:/usr/bin:/usr/sbin"
export CONFIG_SITE="$SYSROOT/usr/share/config.site"
export PROJECTDIR="$PWD"

View File

@@ -1,36 +0,0 @@
fetch() {
wget -N -c --show-progress -q -P "$SOURCES" $1
}
create_sysroot() {
mkdir -p "$SYSROOT"/{etc,cross,usr}
mkdir -p "$SYSROOT"/usr/{bin,sbin,lib,include}
for directory in bin sbin lib; do
ln -fs "usr/$directory" "$SYSROOT/$directory"
done
ln -fs lib "$SYSROOT/usr/lib64"
ln -fs usr/lib64 "$SYSROOT/lib64"
}
discard_out() {
"$@" > /dev/null
}
redirect_out() {
local path=$1; shift
"$@" > "$path"
}
discard_all() {
"$@" > /dev/null 2>&1
}
redirect_all() {
local path=$1; shift
"$@" > "$path" 2>&1
}