[RTEMS Project] #2907: BSP Script v4.11 Fix

RTEMS trac trac at rtems.org
Fri Feb 10 18:50:57 UTC 2017


#2907: BSP Script v4.11 Fix
-------------------------+------------------
 Reporter:  jman006      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:
Component:  bsps         |    Version:  4.11
 Severity:  normal       |   Keywords:
-------------------------+------------------
 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

--
Ticket URL: <http://devel.rtems.org/ticket/2907>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list