Reorganisation de tout le systéme de build + debuggage os loader au autre scripts

This commit is contained in:
Marc
2022-02-26 19:23:34 +01:00
parent fc41d4bec0
commit 24c03e8090
25 changed files with 188 additions and 107 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ fi
git clone https://sourceware.org/git/glibc.git src
cd src
git restore .
git checkout release/2.34/master
git pull
cd -
@@ -13,8 +14,8 @@ cd -
mkdir src/build -p
cd src/build
pwd
../configure --sysconfdir=/etc -prefix=/usr --with-headers=/usr/include --with-bugurl=https://bugs.archlinux.org/ --enable-add-ons --enable-bind-now --enable-cet --enable-kernel=4.4 --enable-lock-elision --enable-multi-arch --enable-stack-protector=strong --enable-stackguard-randomization --enable-static-pie --enable-systemtap --disable-profile --disable-werror || exit 1
../configure --sysconfdir=/etc -prefix=/usr --with-headers=/usr/include --enable-add-ons --enable-bind-now --enable-cet --enable-kernel=5.14 --enable-lock-elision --enable-multi-arch --enable-stack-protector=strong --enable-stackguard-randomization --enable-static-pie --enable-systemtap --disable-profile --disable-werror || exit 1
make -j$(nproc) || exit 1
DESTDIR=$(pwd)/../../../rootfs
DESTDIR=$(pwd)/../../../libfs
sudo make install DESTDIR=$(realpath $DESTDIR)
cd -