mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Remove source directory after building
This commit is contained in:
parent
254b0813d1
commit
283c3067e6
4 changed files with 12 additions and 0 deletions
|
@ -28,3 +28,5 @@ fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
cd $LFS/sources
|
||||||
|
rm -rf binutils-2.39
|
||||||
|
|
|
@ -67,3 +67,7 @@ fi
|
||||||
cd ..
|
cd ..
|
||||||
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
|
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
|
||||||
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h
|
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h
|
||||||
|
|
||||||
|
|
||||||
|
cd $LFS/sources
|
||||||
|
rm -rf gcc-12.2.0
|
||||||
|
|
|
@ -9,3 +9,7 @@ make mrproper
|
||||||
make headers
|
make headers
|
||||||
find usr/include -type f ! -name '*.h' -delete
|
find usr/include -type f ! -name '*.h' -delete
|
||||||
cp -rv usr/include $LFS/usr
|
cp -rv usr/include $LFS/usr
|
||||||
|
|
||||||
|
cd $LFS/sources
|
||||||
|
rm -rf linux-5.19.2
|
||||||
|
|
||||||
|
|
|
@ -43,3 +43,5 @@ sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd
|
||||||
|
|
||||||
$LFS/tools/libexec/gcc/$LFS_TGT/12.2.0/install-tools/mkheaders
|
$LFS/tools/libexec/gcc/$LFS_TGT/12.2.0/install-tools/mkheaders
|
||||||
|
|
||||||
|
cd $LFS/sources
|
||||||
|
rm -rf glibc-2.36
|
||||||
|
|
Loading…
Reference in a new issue