[PATCH] libcpu: Only build if there is a valid configure.ac

Chris Johns chrisj at rtems.org
Fri Mar 23 02:47:16 UTC 2018


---
 c/src/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/configure.ac b/c/src/configure.ac
index 95a216334a..8d8778fc0e 100644
--- a/c/src/configure.ac
+++ b/c/src/configure.ac
@@ -129,7 +129,7 @@ AC_CONFIG_SUBDIRS([make])
 BSP_SUBDIRS="$BSP_SUBDIRS make"
 
 RTEMS_CPU_SUBDIRS(lib/libcpu)
-if test -d "${srcdir}/lib/libcpu/${RTEMS_CPU}"; then
+if test -d "${srcdir}/lib/libcpu/${RTEMS_CPU}/configure.ac"; then
   libcpu_cpu_subdir="${RTEMS_CPU}"
 else
   libcpu_cpu_subdir=
-- 
2.15.1



More information about the devel mailing list