From 7d905dffad8626793647c1920d5f382e17312535 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 21 Nov 2017 17:02:06 -0600 Subject: aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families Updates #3520. --- aclocal/check-bsps.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aclocal') diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4 index 500fcc8b6c..381b2e3197 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/,," \ -- cgit v1.2.3