deleted config folder
This commit is contained in:
@@ -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"
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user