mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 11:52:52 +00:00
Add 8.65 - Build make
This commit is contained in:
parent
ff7485004a
commit
8cac456178
2 changed files with 38 additions and 0 deletions
26
scripts/chapter8/8.65-make.sh
Normal file
26
scripts/chapter8/8.65-make.sh
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf make-4.3.tar.gz
|
||||||
|
cd make-4.3
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j5
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make check
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf make-4.3
|
|
@ -1318,3 +1318,15 @@ then
|
||||||
stop_script "chapter8/8.64-libpipeline.sh"
|
stop_script "chapter8/8.64-libpipeline.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.65
|
||||||
|
# ============
|
||||||
|
echo "Building make"
|
||||||
|
su -c "bash $SCRIPT/chapter8/8.65-make.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.65-make.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue