Correction problèmes avec make mrproper qui n'était pas appelé pour la bonne architec...
[hvlinux.git] / stage1 / pkg / linux
index 5bacbde..718bb2b 100644 (file)
@@ -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}