tools/configure.sh: Needs to be able to run from the tools sub-directory.

This commit is contained in:
Gregory Nutt 2019-08-06 10:51:39 -06:00
parent d4d67ec425
commit 78fe3a3906
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ fi
archs="arm avr hc mips misoc or1k renesas risc-v sim x86 xtensa z16 z80"
for arc in ${archs}; do
if [ -f boards/${arc}/${boarddir}/Kconfig ]; then
if [ -f ${TOPDIR}/boards/${arc}/${boarddir}/Kconfig ]; then
archdir=${arc}
echo " Detected ${archdir} Architecture"
fi