X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Flinux;h=5e1f516366739e0487a8247ff1ff21da4f045f06;hb=09e97cf36729cd6a72ed87f97b921c2d17086b2c;hp=718bb2b475a531b74e9670244004899ae82bdd21;hpb=662bb64b8fc4f0d464ca0f245fcfa843d9a318df;p=hvlinux.git diff --git a/stage1/pkg/linux b/stage1/pkg/linux index 718bb2b..5e1f516 100644 --- a/stage1/pkg/linux +++ b/stage1/pkg/linux @@ -5,6 +5,8 @@ hvbuild() # Decompress kernel sources decompress_package ${PACKAGE} ${LFS}/usr/src + apply_patches ${PACKAGE} ${LFS}/usr/src + # Copy kernel configuration file in source tree. cp -v ${SCRDIR}/../config/${KERNEL_CONFIG} ${LFS}/usr/src/${PACKAGE}/.config @@ -26,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}