diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-02-27 16:16:52 -0500 |
commit | 1c1bf28a79c4ad75e6bb04e81f0f7a86fe1111ab (patch) | |
tree | 764ee03f7ca3b83aa60851c65a8b6e9862c27cef /configure | |
parent | 722b8cc3216fc96671a1ad468a3d8b9e1d5970f1 (diff) | |
download | pemagine-1c1bf28a79c4ad75e6bb04e81f0f7a86fe1111ab.tar.bz2 pemagine-1c1bf28a79c4ad75e6bb04e81f0f7a86fe1111ab.tar.xz |
build system: added fallback host recipe.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -180,6 +180,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 } |