The kernel config file must be put in place after "make mrproper" to work.
This commit is contained in:
parent
898f47a966
commit
f0f60d0e0c
2 changed files with 5 additions and 1 deletions
|
@ -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 &&
</xsl:text>
|
||||||
|
<xsl:text>cp -v ../kernel-config .config &&
</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
2
jhalfs
|
@ -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
|
||||||
|
|
Reference in a new issue