X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Flinux;h=718bb2b475a531b74e9670244004899ae82bdd21;hb=0fbeb62f20d44b9452cd286fe5bacb7e329fc2f6;hp=5bacbdec27fa788ffb445cde3103abbf344e3839;hpb=c3de75b75dcf16644e7a2ad830fa96f324c14ff7;p=hvlinux.git 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}