diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:37 -0500 |
commit | c6e141543051c862c94501cb87113716a6097279 (patch) | |
tree | 6740cdb2a6294dbb6d7578dafb9e6b13a195433c /configure | |
parent | e5d4bb6e04112cca5fe4fc79048ede646caced30 (diff) | |
download | perk-c6e141543051c862c94501cb87113716a6097279.tar.bz2 perk-c6e141543051c862c94501cb87113716a6097279.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 } |