1.1 --- a/common/autoconf/basics.m4 Tue Jun 18 11:29:34 2013 +0200 1.2 +++ b/common/autoconf/basics.m4 Tue Jun 18 11:30:36 2013 +0200 1.3 @@ -363,7 +363,11 @@ 1.4 AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time]) 1.5 fi 1.6 TOOLS_DIR=$with_devkit/bin 1.7 - SYS_ROOT=$with_devkit/$host_alias/libc 1.8 + if test -d "$with_devkit/$host_alias/libc"; then 1.9 + SYS_ROOT=$with_devkit/$host_alias/libc 1.10 + elif test -d "$with_devkit/$host/sys-root"; then 1.11 + SYS_ROOT=$with_devkit/$host/sys-root 1.12 + fi 1.13 ]) 1.14 1.15 ])