moving to stage 2 for temp tool cross-compilation up to 6.3

This commit is contained in:
phanes
2023-02-19 17:25:49 -05:00
parent 98d5416c6b
commit 6051ca386f
19 changed files with 745 additions and 17 deletions

19
make.project/build_stage2.sh Executable file
View 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=$?

View File

@@ -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

View File

@@ -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}