various typo fixes and progress up to 8.8
This commit is contained in:
37
Makefile
37
Makefile
@@ -11,59 +11,78 @@ ifndef project_root
|
||||
else
|
||||
|
||||
|
||||
clean:
|
||||
clean_unsafe:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/clean.sh"
|
||||
|
||||
clean:
|
||||
set -e
|
||||
make disarm_chroot
|
||||
make clean_unsafe
|
||||
|
||||
# same as clean, but retain logs
|
||||
purge_artifacts:
|
||||
set -e
|
||||
${dir_make}/purge_artifacts.sh
|
||||
|
||||
|
||||
# these need run in the following order:
|
||||
dirs:
|
||||
set -e
|
||||
${dir_make}/dirs.sh
|
||||
|
||||
# installs the latest version of rex from master branch
|
||||
# will later be tied to a release tag
|
||||
install_rex:
|
||||
set -e
|
||||
${dir_make}/install_rex.sh
|
||||
|
||||
# installs the versions designed for this run
|
||||
download_sources:
|
||||
set -e
|
||||
${dir_make}/download_sources.sh
|
||||
|
||||
# ""
|
||||
download_patches:
|
||||
set -e
|
||||
${dir_make}/download_patches.sh
|
||||
|
||||
# kicks off rex
|
||||
build_stage1:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage1.sh"
|
||||
|
||||
# kicks off rex
|
||||
build_stage2:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage2.sh"
|
||||
|
||||
arm_chroot:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/arm_chroot.sh"
|
||||
|
||||
disarm_chroot:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/disarm_chroot.sh"
|
||||
|
||||
# do not enter the chroot like this unless you have run arm_chroot.
|
||||
# build_stage2 does this automatically.
|
||||
enter_chroot:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/enter_chroot.sh"
|
||||
|
||||
#embeds and kicks off rex from inside chroot
|
||||
build_stage3:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage3.sh"
|
||||
|
||||
# offers to back up
|
||||
build_stage4backup:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage4backup.sh"
|
||||
|
||||
build_stage4:
|
||||
set -e
|
||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage4.sh"
|
||||
|
||||
|
||||
@@ -79,7 +98,21 @@ build_stage4:
|
||||
# optional: make build_stage4backup
|
||||
# make build_stage4
|
||||
|
||||
all: disarm_chroot clean dirs install_rex download_patches download_sources build_stage1 build_stage2 build_stage3 build_stage4backup build_stage4
|
||||
.ONESHELL:
|
||||
all:
|
||||
set -e; \
|
||||
make disarm_chroot && \
|
||||
make clean && \
|
||||
make dirs && \
|
||||
make install_rex && \
|
||||
make download_patches && \
|
||||
make download_sources && \
|
||||
make build_stage1 && \
|
||||
make build_stage2 && \
|
||||
make build_stage3 && \
|
||||
make build_stage4backup && \
|
||||
make build_stage4
|
||||
|
||||
|
||||
# Remember, before you make clean or make purge_artifacts you MUST run
|
||||
# make disarm_chroot beforehand or you could cause irreversible damage
|
||||
|
||||
Reference in New Issue
Block a user