diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:35 -0500 |
commit | fe53cf4c2a9cf22cf8659c6f2c2555ee830481ac (patch) | |
tree | 787f4f3b0e3d0f2b25cd4f09a0f51f60983517ba /configure | |
parent | e692ecc8f9e67935711fca72f93f537ce505c2f9 (diff) | |
download | mdso-fe53cf4c2a9cf22cf8659c6f2c2555ee830481ac.tar.bz2 mdso-fe53cf4c2a9cf22cf8659c6f2c2555ee830481ac.tar.xz |
build system: added fallback host recipe.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -184,6 +184,17 @@ common_defaults() if [ x"$mb_toolchain" = x ]; then mb_toolchain='binutils' fi + + # fallback host recipe + if [ x"$mb_host" != x ]; then + if ! [ -f $mb_project_dir/sysinfo/host/$mb_host.mk ]; then + if [ -z "$mb_cross_compile" ]; then + mb_cross_compile=$mb_host- + fi + + mb_host='any-host'; + fi + fi } |