moving to stage 2 for temp tool cross-compilation up to 6.3
This commit is contained in:
19
make.project/build_stage2.sh
Executable file
19
make.project/build_stage2.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# closely aligns with LFS Ch 5, 6
|
||||
|
||||
# fix an issue with open files limit on some hosts
|
||||
ulimit -l unlimited
|
||||
|
||||
#ulimit -n 10240
|
||||
ulimit -c unlimited
|
||||
|
||||
echo "Bootstrapping from MAKE to REX..."
|
||||
|
||||
# Executes rex from within the shell.
|
||||
|
||||
${dir_localtools}/rex -v \
|
||||
-c ${dir_rex}/x86_64/rex.config \
|
||||
-p ${dir_rex}/x86_64/plans/stage2.plan
|
||||
|
||||
retVal=$?
|
||||
@@ -1,8 +1,9 @@
|
||||
# clean the slate
|
||||
echo
|
||||
echo "Deleting ${dir_stage}"
|
||||
rm -Rfv ${dir_stage}
|
||||
rm -Rf ${dir_stage}
|
||||
|
||||
echo
|
||||
echo "Deleting ${dir_stage}"
|
||||
rm -Rfv ${dir_logs}
|
||||
rm -Rf ${dir_logs}
|
||||
echo
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
rm -Rfv ${dir_artifacts}
|
||||
rm -Rfv ${dir_sysroot}
|
||||
echo
|
||||
echo "Recreating ${dir_artifacts}"
|
||||
rm -Rf ${dir_artifacts}
|
||||
mkdir -p ${dir_artifacts}
|
||||
|
||||
echo
|
||||
echo "Recreating ${dir_sysroot}"
|
||||
rm -Rf ${dir_sysroot}
|
||||
mkdir -p ${dir_sysroot}
|
||||
|
||||
Reference in New Issue
Block a user