[PATCH v2 6/6] aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families

Joel Sherrill joel at rtems.org
Tue Nov 21 23:07:06 UTC 2017


Updates #3520.
---
 aclocal/check-bsps.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4
index 500fcc8..381b2e3 100644
--- a/aclocal/check-bsps.m4
+++ b/aclocal/check-bsps.m4
@@ -8,10 +8,10 @@ AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
 
 AC_MSG_CHECKING([for available BSPs])
   $1=
-  for bsp_spec in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs 2>/dev/null`; do
-    bsp_family=`echo "$bsp_spec" | sed \
+  for bsp_make in `echo "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/make 2>/dev/null`; do
+    bsp_family=`echo "$bsp_make" | sed \
       -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
-      -e "s,/bsp_specs$,,"`
+      -e "s,/make$,,"`
     for bsp_cfgs in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/"*.cfg 2>/dev/null`; do
       bsp_cfg=`echo "$bsp_cfgs" | sed \
         -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/,," \
-- 
1.8.3.1




More information about the devel mailing list