diff options
author | midipix <writeonce@midipix.org> | 2016-02-26 17:49:08 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-02-27 10:58:06 -0500 |
commit | dc909fec64be7e1fb0eb74e4f9a99ad514d4cf1d (patch) | |
tree | c8395e20e07e5b4802b972430ee97eb4302cb768 /configure | |
parent | 46d732fea4ece0c921a43a73845bb5a8009877e3 (diff) | |
download | sofort-dc909fec64be7e1fb0eb74e4f9a99ad514d4cf1d.tar.bz2 sofort-dc909fec64be7e1fb0eb74e4f9a99ad514d4cf1d.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 } |