From 78fe3a3906c219c0c10860361a06626bef60e594 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 6 Aug 2019 10:51:39 -0600 Subject: [PATCH] tools/configure.sh: Needs to be able to run from the tools sub-directory. --- tools/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure.sh b/tools/configure.sh index f73355196c..25c7502ce6 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -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