summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 20:13:30 +0000
committermidipix <writeonce@midipix.org>2021-04-24 20:29:13 +0000
commit7e4540ce56f96a3f070f4f553c2a18e237909e00 (patch)
tree0fbd9f6d069b5a9f5e774ff21b45ca3551cd246c /configure
parentc70881127806fd8e3c486e00f27724305e467972 (diff)
downloadbfirm-7e4540ce56f96a3f070f4f553c2a18e237909e00.tar.bz2
bfirm-7e4540ce56f96a3f070f4f553c2a18e237909e00.tar.xz
build system: allow projects to specify an alternate Makefile name.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 283b7c8..c1e0be5 100755
--- a/configure
+++ b/configure
@@ -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"