[rtems commit] aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families
Joel Sherrill
joel at rtems.org
Mon Nov 27 15:50:41 UTC 2017
Module: rtems
Branch: master
Commit: 7d905dffad8626793647c1920d5f382e17312535
Changeset: http://git.rtems.org/rtems/commit/?id=7d905dffad8626793647c1920d5f382e17312535
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Nov 21 17:02:06 2017 -0600
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(-)
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/,," \
More information about the vc
mailing list