diff options
author | midipix <writeonce@midipix.org> | 2021-04-24 20:13:30 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-24 20:29:15 +0000 |
commit | f7382bc4549049f88dd8a94c67f9f3d5bb899c15 (patch) | |
tree | e494fd2bc734f00a4ed199fba33a9dc6b05ece08 | |
parent | f19a28a78f95688dc6904134f2cf54df22def1e8 (diff) | |
download | sofort-f7382bc4549049f88dd8a94c67f9f3d5bb899c15.tar.bz2 sofort-f7382bc4549049f88dd8a94c67f9f3d5bb899c15.tar.xz |
build system: allow projects to specify an alternate Makefile name.
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | sofort/config/config.vars | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -837,6 +837,11 @@ config_host() config_fini() { + # rename Makefile as needed + if [ -n "$mb_makefile" ]; then + mv $mb_pwd/Makefile $mb_pwd/$mb_makefile + fi + # project-specific post-configuration steps if [ _$mb_use_custom_cfgfini = _yes ]; then . "$mb_project_dir/project/config/cfgfini.sh" diff --git a/sofort/config/config.vars b/sofort/config/config.vars index f3ea78e..903abd5 100644 --- a/sofort/config/config.vars +++ b/sofort/config/config.vars @@ -39,6 +39,7 @@ srcball_sha256 make +makefile makemode build |