starter code

This commit is contained in:
ag-tsotetsi
2026-02-07 13:53:52 +02:00
parent e698e1f3b4
commit 6c3450475a
4 changed files with 47 additions and 0 deletions

18
config/utilities.bash Normal file
View File

@@ -0,0 +1,18 @@
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
}