From a380a32fb2ec811e4bd5db299dcda0887cebfd9c Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 31 Dec 2018 12:49:09 -0500 Subject: build system: configure: support a simple, project-specific cfgdefs.in. --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3