updated notes
parent
a33a01cff5
commit
4668e617e6
14
Makefile
14
Makefile
|
@ -11,13 +11,15 @@ ifndef project_root
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
||||||
# these need run in the following order:
|
|
||||||
clean:
|
clean:
|
||||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/clean.sh"
|
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/clean.sh"
|
||||||
|
|
||||||
|
# same as clean, but retain logs
|
||||||
purge_artifacts:
|
purge_artifacts:
|
||||||
${dir_make}/purge_artifacts.sh
|
${dir_make}/purge_artifacts.sh
|
||||||
|
|
||||||
|
|
||||||
|
# these need run in the following order:
|
||||||
dirs:
|
dirs:
|
||||||
${dir_make}/dirs.sh
|
${dir_make}/dirs.sh
|
||||||
|
|
||||||
|
@ -48,12 +50,14 @@ arm_chroot:
|
||||||
disarm_chroot:
|
disarm_chroot:
|
||||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/disarm_chroot.sh"
|
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:
|
enter_chroot:
|
||||||
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/enter_chroot.sh"
|
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/enter_chroot.sh"
|
||||||
|
|
||||||
#embeds and kicks off rex
|
#embeds and kicks off rex
|
||||||
#build_stage3:
|
build_stage3:
|
||||||
# sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage3.sh"
|
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage3.sh"
|
||||||
|
|
||||||
# example:
|
# example:
|
||||||
# make dirs
|
# make dirs
|
||||||
|
@ -62,8 +66,8 @@ enter_chroot:
|
||||||
# make download_patches
|
# make download_patches
|
||||||
# make build_stage1
|
# make build_stage1
|
||||||
# make build_stage2
|
# make build_stage2
|
||||||
# make arm_chroot
|
# optional: make enter_chroot
|
||||||
# make enter_chroot
|
# make build_stage3
|
||||||
|
|
||||||
# Remember, before you make clean or make purge_artifacts you MUST run
|
# Remember, before you make clean or make purge_artifacts you MUST run
|
||||||
# make disarm_chroot beforehand or you could cause irreversible damage
|
# make disarm_chroot beforehand or you could cause irreversible damage
|
||||||
|
|
Loading…
Reference in New Issue