#2907 closed enhancement (fixed)

BSP Script v4.11 Fix

Reported by: Joey DiGiorgio Owned by:
Priority: normal Milestone: 4.11.2
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: Joel Sherrill Blocked By:
Blocking:

Description

After some discussions on the mailing list, it seems that the "rtems_bsps" script in v4.11 never got a patch fixing the find command used to list available BSPs. Below is a patch I used to get things working.

diff -rupN RTEMS_v4.11.0/rtems-bsps RTEMS_v4.11.0_Fixed/rtems-bsps
--- RTEMS_OS_v4.11.0_New_Source/rtems-bsps 2017-02-10 12:52:01.875581452 -0500
+++ RTEMS_v4.11.0_Source/rtems-bsps 2017-02-10 12:06:15.587126976 -0500
@@ -5,7 +5,7 @@ base_e=$(echo ${base} | sed -e 's/\
\

last_arch=""


-cfg_list=$(LANG=C LC_COLLATE=C find ${base} -depth 5 -name \*.cfg | sort)
+cfg_list=$(LANG=C LC_COLLATE=C find ${base} -mindepth 5 -name \*.cfg | sort)

max_bsp_len=0
arch_count=0

Change History (1)

comment:1 Changed on Aug 14, 2017 at 12:20:31 AM by Chris Johns

Milestone: 4.11.2
Resolution: fixed
Status: newclosed

This has been fixed and the 4.11.2 release.

Note: See TracTickets for help on using tickets.