summaryrefslogtreecommitdiffstats
path: root/rtems-bsps
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xrtems-bsps6
1 files changed, 3 insertions, 3 deletions
diff --git a/rtems-bsps b/rtems-bsps
index 6bee5fa7e0..8c85fc10d4 100755
--- a/rtems-bsps
+++ b/rtems-bsps
@@ -1,12 +1,12 @@
#! /bin/sh
top=$(dirname $0)
-base="${top}/c/src/lib/libbsp"
+base="${top}/bsps"
base_e=$(echo ${base} | sed -e 's/\//\\\//g')
last_arch=""
-cfg_list=$(LANG=C LC_COLLATE=C find ${base} -mindepth 5 -name \*.cfg | sort)
+cfg_list=$(LANG=C LC_COLLATE=C find ${base} -mindepth 3 -name \*.cfg | sort)
max_bsp_len=0
arch_count=0
@@ -37,7 +37,7 @@ for bsp_path in ${cfg_list};
do
arch=$(echo ${bsp_path} | sed -e "s/${base_e}*\///" -e 's/\/.*//')
bsp=$(echo ${bsp_path} | sed -e "s/.*\///" -e 's/\.cfg//')
- path=$(echo ${bsp_path} | sed -e "s/\/make.*//")
+ path=$(echo ${bsp_path} | sed -e "s/\/config.*//")
if test "${last_arch}" != "${arch}"; then
echo "${arch}:"
last_arch=${arch}