2023-02-18 06:46:01 +00:00
|
|
|
.EXPORT_ALL_VARIABLES:
|
|
|
|
.DEFAULT_GOAL := all
|
|
|
|
SHELL := /bin/bash
|
|
|
|
|
|
|
|
# circular dependency loading
|
|
|
|
ifndef project_root
|
|
|
|
|
|
|
|
%:
|
|
|
|
. ./project_config.sh $(MAKE) $@
|
|
|
|
|
|
|
|
else
|
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
#download_patches:
|
|
|
|
# ${make_dir}/download_patches.sh
|
2023-02-18 06:46:01 +00:00
|
|
|
|
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
#verify_patches:
|
|
|
|
# ${make_dir}/verify_patches.sh
|
2023-02-18 06:46:01 +00:00
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
# create the directory structures necessary to run the make
|
|
|
|
dirs:
|
|
|
|
${dir_make}/dirs.sh
|
2023-02-18 06:46:01 +00:00
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
# installs the latest version of rex
|
|
|
|
install_rex:
|
|
|
|
${dir_make}/install_rex.sh
|
2023-02-18 06:46:01 +00:00
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
download_sources:
|
|
|
|
${dir_make}/download_sources.sh
|
2023-02-18 06:46:01 +00:00
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
build_stage1:
|
|
|
|
sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/build_stage1.sh"
|
2023-02-18 06:46:01 +00:00
|
|
|
|
|
|
|
|
2023-02-19 01:02:03 +00:00
|
|
|
# end dependency loading block
|
2023-02-18 06:46:01 +00:00
|
|
|
endif
|