summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-11-21 17:02:06 -0600
committerJoel Sherrill <joel@rtems.org>2017-11-27 09:50:05 -0600
commit7d905dffad8626793647c1920d5f382e17312535 (patch)
treea63bdbcc030adb5d352b965140feb28fb2fc782b /aclocal
parenta30f707834a744760791eff255d2db2a43d61797 (diff)
downloadrtems-7d905dffad8626793647c1920d5f382e17312535.tar.bz2
aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families
Updates #3520.
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/check-bsps.m46
1 files changed, 3 insertions, 3 deletions
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/,," \