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:
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}