summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 12:49:09 -0500
committermidipix <writeonce@midipix.org>2018-12-31 12:50:49 -0500
commit56b76d61a2b25da7c778b2e4c1841199bff182d3 (patch)
tree400ed0b63d6a67564c5799af27a96a24d76dcf31 /configure
parentb9dba17a3757e7080ed9c00c0d46d304b8814c1b (diff)
downloadbfirm-56b76d61a2b25da7c778b2e4c1841199bff182d3.tar.bz2
bfirm-56b76d61a2b25da7c778b2e4c1841199bff182d3.tar.xz
build system: configure: support a simple, project-specific cfgdefs.in.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 1ee5f3e..d28e1be 100755
--- a/configure
+++ b/configure
@@ -97,6 +97,10 @@ init_vars()
'a custom config step.' \
> cfgdefs.mk
cat $mb_project_dir/sofort/cfgdefs.in >> cfgdefs.mk
+
+ if [ -f $mb_project_dir/project/cfgdefs.in ]; then
+ cat $mb_project_dir/project/cfgdefs.in >> cfgdefs.mk
+ fi
fi
# user build-time overrides