summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-23 16:41:08 +0000
committermidipix <writeonce@midipix.org>2021-05-23 16:42:13 +0000
commit45bc02c65ff54aafbd751b8b6b0c65cae19a6917 (patch)
treef8c8d0d408a514a29ad76214a8ae8f1956f8d5ec /configure
parentdb74f26623bd012949bb980a3bf662b019bfab64 (diff)
downloadntux-45bc02c65ff54aafbd751b8b6b0c65cae19a6917.tar.bz2
ntux-45bc02c65ff54aafbd751b8b6b0c65cae19a6917.tar.xz
build system: configure: support project-specific make-file templates.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index d7c5121..59c3bc9 100755
--- a/configure
+++ b/configure
@@ -804,6 +804,12 @@ config_custom()
eval config_custom_cfgdefs "$mb_custom_cfgdefs_args"
output_section_break
+
+ if [ -f "$mb_project_dir/project/config/Makefile.in" ]; then
+ config_copy "$mb_project_dir/project/config/Makefile.in"
+ mv $mb_pwd/Makefile.tmp Makefile
+ fi
+
config_copy
fi