mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-14 00:59:43 +00:00
30 lines
339 B
Bash
30 lines
339 B
Bash
|
#!/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
|
||
|
|