Correction problème avec make oldconfig pour architecture autre que le HOST.
[hvlinux.git] / stage1 / pkg / linux
index 490a66c..5e1f516 100644 (file)
@@ -28,7 +28,7 @@ hvbuild()
     # 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 'yes "" | make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- oldconfig' >> ${SCRIPT}
 
     echo "#make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig" >> ${SCRIPT}