The kernel config file must be put in place after "make mrproper" to work.

This commit is contained in:
Manuel Canales Esparcia 2005-10-09 17:53:54 +00:00
parent 898f47a966
commit f0f60d0e0c
2 changed files with 5 additions and 1 deletions

View file

@ -92,6 +92,10 @@
<xsl:template match="userinput" mode="screen"> <xsl:template match="userinput" mode="screen">
<xsl:choose> <xsl:choose>
<xsl:when test="string() = 'make mrproper'">
<xsl:text>make mrproper &amp;&amp;&#xA;</xsl:text>
<xsl:text>cp -v ../kernel-config .config &amp;&amp;&#xA;</xsl:text>
</xsl:when>
<xsl:when test="contains(string(),'tar.gz')"> <xsl:when test="contains(string(),'tar.gz')">
<xsl:value-of select="substring-before(string(),'tar.gz')"/> <xsl:value-of select="substring-before(string(),'tar.gz')"/>
<xsl:text>tar.bz2</xsl:text> <xsl:text>tar.bz2</xsl:text>

2
jhalfs
View file

@ -704,7 +704,7 @@ EOF
if [ "$i" = "132-kernel" ] ; then if [ "$i" = "132-kernel" ] ; then
( (
cat << EOF cat << EOF
@source envars && cp $CONFIG \$(LFS)\$(PKGDIR)/.config @cp $CONFIG \$(LFS)/sources/kernel-config
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
fi fi