From 662bb64b8fc4f0d464ca0f245fcfa843d9a318df Mon Sep 17 00:00:00 2001 From: gobo72 Date: Sun, 4 Sep 2011 20:32:53 +0000 Subject: [PATCH] =?utf8?q?Correction=20probl=C3=A8mes=20avec=20make=20mrpr?= =?utf8?q?oper=20qui=20n'=C3=A9tait=20pas=20appel=C3=A9=20pour=20la=20bonn?= =?utf8?q?e=20architecture=20du=20kernel.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stage1/pkg/linux | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/stage1/pkg/linux b/stage1/pkg/linux index 5bacbde..718bb2b 100644 --- a/stage1/pkg/linux +++ b/stage1/pkg/linux @@ -23,6 +23,11 @@ hvbuild() echo "PATH=\${PATH}:${LFS}/cross-tools/bin" >> ${SCRIPT} echo "" >> ${SCRIPT} + # The 'yes' command repeatedly output a line with all specified string, or + # 'y' by default. So, you can use it to simply "press enter", which will + # result in using the defaults value for the 'make oldconfig' command. + echo 'yes "" | make oldconfig' >> ${SCRIPT} + echo "#make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig" >> ${SCRIPT} # Compile the kernel image: @@ -40,12 +45,6 @@ hvbuild() chmod -v u+x ${SCRIPT} cd ${LFS}/usr/src/${PACKAGE} - ${HVMAKE} mrproper - - # The 'yes' command repeatedly output a line with all specified string, or - # 'y' by default. So, you can use it to simply "press enter", which will - # result in using the defaults value for the 'make oldconfig' command. - yes "" | make oldconfig # Execute compilation script ${SCRIPT} -- 2.20.1