summaryrefslogtreecommitdiffhomepage
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:51 -0500
commit9c92a579cef6e96133001e7c48ffb2d3781c4d4e (patch)
tree42534114b1555a4b3af976a7f5da11d284ab0afe
parent613972c224e14e76c8a1bb6887bbf8104faccf6f (diff)
downloadu16ports-9c92a579cef6e96133001e7c48ffb2d3781c4d4e.tar.bz2
u16ports-9c92a579cef6e96133001e7c48ffb2d3781c4d4e.tar.xz
build system: configure: support a simple, project-specific cfgdefs.in.
-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