Add 6.12 - Build make

This commit is contained in:
Aditya 2023-01-09 14:29:38 +05:30
parent 5d97b5afae
commit 2efa0dd6ae
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#!/bin/sh
cd $LFS/sources
tar xf make-4.3.tar.gz
cd make-4.3
./configure --prefix=/usr \
--without-guile \
--host=$LFS_TGT \
--build=$(build-aux/config.guess)
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make DESTDIR=$LFS install
cd $LFS/sources
rm -rf make-4.3

View file

@ -311,3 +311,16 @@ then
stop_script "chapter6/6.11-gzip.sh"
fi
# Chapter 6.12
# ============
echo "Building make"
su - lfs -c "bash $PWD/chapter6/6.12-make.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter6/6.12-make.sh"
fi