Changeset 4d15d7f for HLFS/hlfs.xsl


Ignore:
Timestamp:
12/09/2006 07:22:38 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
d4ef791
Parents:
02c88a6
Message:

HLFS: Added support for 2.4-branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/hlfs.xsl

    r02c88a6 r4d15d7f  
    9797          </xsl:if>
    9898
    99           <!-- NEW toolchain format, from inside ./sources dir unpack binutils and gcc -->
     99          <!-- SVN toolchain format, from inside ./sources dir unpack binutils and gcc -->
    100100          <xsl:if test="@id='ch-tools-embryo-toolchain' or
    101101                        @id='ch-tools-cocoon-toolchain' or
     
    112112            <xsl:text>tar -xvf gcc-testsuite-&gcc-version;.*; &#xA;</xsl:text>
    113113          </xsl:if>
    114           <!-- END new toolchain format -->
     114          <!-- END SVN toolchain format -->
     115
     116          <!-- 2.4-branch toolchain -->
     117          <xsl:if test="@id='ch-tools-gcc-pass2' or @id='ch-system-gcc'">
     118             <xsl:text>pushd ../; tar -xvf gcc-g++-&gcc-version;.*; popd; &#xA;</xsl:text>
     119          </xsl:if>
     120          <xsl:if test="@id='ch-system-gcc' and $testsuite != '0'">
     121            <xsl:text>pushd ../; tar -xvf gcc-testsuite-&gcc-version;.*; popd; &#xA;</xsl:text>
     122          </xsl:if>
     123          <!-- END 2.4-branch toolchain -->
    115124
    116125          <xsl:if test="@id='bootable-bootscripts'">
     
    167176                contains(string(),'sysctl')
    168177                and $grsecurity_host ='n'"/>
     178      <!-- Fix MAKEDEV installation in 2.4-branch -->
     179      <xsl:when test="ancestor::sect1[@id='ch-system-devices'] and
     180                contains(string(),'bzcat MAKEDEV')">
     181        <xsl:text>bzcat /sources/</xsl:text>
     182        <xsl:value-of select="substring-after(string(),'bzcat ')"/>
     183        <xsl:text>&#xA;</xsl:text>
     184      </xsl:when>
    169185      <!-- Setting $LC_ALL and $LANG for /etc/profile -->
    170186      <xsl:when test="ancestor::sect1[@id='bootable-profile'] and
     
    234250        </xsl:choose>
    235251      </xsl:when>
    236       <!-- Fixing butterfly toolchain and other packages test suites run -->
     252      <!-- Fixing butterfly and 2.4-branch toolchain plus other packages test suites run -->
    237253      <xsl:when test="string() = 'make -k check'
    238254                      or string() = 'make check'
    239255                      or string() = 'make tests'">
    240256        <xsl:choose>
    241           <xsl:when test="(ancestor::sect1[@id='ch-system-butterfly-toolchain']
     257          <xsl:when test="((ancestor::sect1[@id='ch-system-butterfly-toolchain']
     258                          or ancestor::sect1[@id='ch-system-gcc'] or
     259                          ancestor::sect1[@id='ch-system-binutils'])
    242260                          and $testsuite != '0') or
    243261                          $testsuite = '2' or $testsuite = '3'">
Note: See TracChangeset for help on using the changeset viewer.