From 4d5e525660b41b816076fe819bda82e3c1b3edef Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 27 Feb 2016 09:34:14 -0500 Subject: build system: added fallback compiler recipe. --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 0f23965..98ba2d6 100755 --- a/configure +++ b/configure @@ -195,6 +195,13 @@ common_defaults() mb_host='any-host'; fi fi + + # fallback compiler recipe + if [ -n "$mb_compiler" ]; then + if ! [ -f $mb_project_dir/sysinfo/compiler/$mb_compiler.mk ]; then + mb_compiler='any-compiler' + fi + fi } -- cgit v1.2.3