--- old/common/autoconf/basics.m4 2013-06-19 13:37:59.190772021 +0200 +++ new/common/autoconf/basics.m4 2013-06-19 13:37:59.090754698 +0200 @@ -359,10 +359,7 @@ if test "x$with_sys_root" != x; then AC_MSG_ERROR([Cannot specify both --with-devkit and --with-sys-root at the same time]) fi - if test "x$with_tools_dir" != x; then - AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time]) - fi - TOOLS_DIR=$with_devkit/bin + TOOLS_DIR=$TOOLS_DIR:$with_devkit/bin if test -d "$with_devkit/$host_alias/libc"; then SYS_ROOT=$with_devkit/$host_alias/libc elif test -d "$with_devkit/$host/sys-root"; then