diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-02-27 14:42:48 -0500 |
commit | 598d5766b2913825ce81b0ce352469e0e991ff66 (patch) | |
tree | 9cc408cc64cf6e3d5ecc66f099d50362cb71aa91 /configure | |
parent | 82672bccf01090d6745d15309abcfa9681a7901e (diff) | |
download | apimagic-598d5766b2913825ce81b0ce352469e0e991ff66.tar.bz2 apimagic-598d5766b2913825ce81b0ce352469e0e991ff66.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 } |