Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r3b27f93 ra9360e1  
    2828  -->
    2929  <xsl:param name="testsuite" select="1"/>
     30
     31  <!-- Parallelism (LFS >= 12.1) -->
     32  <xsl:param name="jobs" select="1"/>
     33
     34  <!-- value of jobs for binutils-pass1 -->
     35  <xsl:param name="jobs-bp1" select="1"/>
    3036
    3137  <!-- Install non wide character ncurses 5? -->
     
    618624        <xsl:value-of select="$hostname"/>
    619625      </xsl:when>
     626      <xsl:when test="contains(string(.),'$(nproc)')">
     627        <xsl:value-of select="$jobs"/>
     628      </xsl:when>
    620629      <xsl:otherwise>
    621630        <xsl:text>**EDITME</xsl:text>
     
    12441253</xsl:text>
    12451254    </xsl:if>
     1255    <xsl:text>
     1256export MAKEFLAGS="-j</xsl:text>
     1257    <xsl:choose>
     1258      <xsl:when test="@id='ch-tools-binutils-pass1'">
     1259        <xsl:value-of select="$jobs-bp1"/>
     1260      </xsl:when>
     1261      <xsl:otherwise>
     1262        <xsl:value-of select="$jobs"/>
     1263      </xsl:otherwise>
     1264    </xsl:choose>
     1265    <xsl:text>"
     1266</xsl:text>
    12461267    <xsl:text>SECONDS=${PREV_SEC}
    12471268
Note: See TracChangeset for help on using the changeset viewer.