Changeset 2fa1b3f in rtems


Ignore:
Timestamp:
Feb 20, 2007, 4:47:29 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
2bdaba9e
Parents:
0d0dec05
Message:

Sync with rtems-4.8.

Location:
contrib/crossrpms
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/build.add

    r0d0dec05 r2fa1b3f  
    3131
    3232  CC="%{__cc} ${RPM_OPT_FLAGS}" \
    33   ../gcc-%{gcc_version}/configure \
     33  ../gcc-%{gcc_pkgvers}/configure \
    3434    --prefix=%{_prefix} \
    3535    --bindir=%{_bindir} \
  • contrib/crossrpms/gcc/gccnewlib.add

    r0d0dec05 r2fa1b3f  
    11
    2 %define gcc_pkgvers @GCC_VERS@
    3 %define gcc_version %{expand:%(echo "@GCC_VERS@" | sed -e 's,-.*,,')}
     2%define gcc_pkgvers @GCC_PKGVERS@
     3%define gcc_version @GCC_VERS@
    44%define gcc_rpmvers %{expand:%(echo "@GCC_VERS@" | tr - _ )}
    55
  • contrib/crossrpms/gcc/prep.add

    r0d0dec05 r2fa1b3f  
    3636cd ..
    3737  # Copy the C library into gcc's source tree
    38   ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_version}
     38  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
    3939%endif
    4040
     
    4242
    4343  # Fix timestamps
    44   cd gcc-%{gcc_version}
     44  cd gcc-%{gcc_pkgvers}
    4545  contrib/gcc_update --touch
    4646  cd ..
  • contrib/crossrpms/rtems4.7/gcc-prep.add

    r0d0dec05 r2fa1b3f  
    11%if "%{gcc_version}" < "4.1.0"
    22  sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
    3   gcc-%{gcc_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
     3  gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
    44%else
    55  sed -e 's/^#define VERSUFFIX.*$/#define VERSUFFIX \" (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%{release})\"/' \
    6     gcc-%{gcc_version}/gcc/version.c > gcc-%{gcc_version}/gcc/version.c~
     6    gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
    77%endif
    8   mv gcc-%{gcc_version}/gcc/version.c~ gcc-%{gcc_version}/gcc/version.c
     8  mv gcc-%{gcc_pkgvers}/gcc/version.c~ gcc-%{gcc_pkgvers}/gcc/version.c
    99
  • contrib/crossrpms/rtems4.7/gcc.am

    r0d0dec05 r2fa1b3f  
    2727          -e "/[@]PREP[@]/d" \
    2828          -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
     29          -e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \
    2930          -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)/g" \
    3031          -e "s/[@]NEWLIB_VERS[@]/$(NEWLIB_VERS)/g" \
Note: See TracChangeset for help on using the changeset viewer.