Changeset f817b02 in rtems for scripts/mkgccnewlibspec.in


Ignore:
Timestamp:
Nov 4, 1999, 6:05:09 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
707f5c7
Parents:
d5704c6
Message:

The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden. This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@…>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration. The use of Cpu_table in each
BSP needs to be eliminated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/mkgccnewlibspec.in

    rd5704c6 rf817b02  
    1818}
    1919
     20specsrc=${RTEMS_DIR}/gccnewlib/gccnewlib.spec.in
     21
    2022while test $# -ge 2; do
    2123case $1 in
     
    2830  shift
    2931  dst=$1
     32  shift
     33-a)        # alternate specs file
     34  shift
     35  specsrc=$1
    3036  shift
    3137  ;;
     
    5763    -e "s%@newlib_version@%${newlib_version}%g" \
    5864    -e "s%@newlib_patch_version@%${newlib_patch_version}%g" \
    59 < ${RTEMS_DIR}/gccnewlib/gccnewlib.spec.in \
     65< ${specsrc} \
    6066> ${specfile}
    6167
Note: See TracChangeset for help on using the changeset viewer.