wok-current rev 24088
linux-aufs, linux-cloop: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:26:24 2021 +0000 (2021-07-11) |
parents | 8dbc179f0f97 |
children | 254e01fe513b |
files | linux-aufs/receipt linux-cloop/receipt linux/receipt linux64-aufs/receipt linux64-cloop/receipt |
line diff
1.1 --- a/linux-aufs/receipt Sun Jul 11 11:04:20 2021 +0000 1.2 +++ b/linux-aufs/receipt Sun Jul 11 14:26:24 2021 +0000 1.3 @@ -48,7 +48,7 @@ 1.4 sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c 1.5 sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c 1.6 1.7 - make -j 1 KDIR=/usr/src/linux 1.8 + make ARCH=i386 KDIR=/usr/src/linux 1.9 xz -f fs/aufs/aufs.ko 1.10 } 1.11
2.1 --- a/linux-cloop/receipt Sun Jul 11 11:04:20 2021 +0000 2.2 +++ b/linux-cloop/receipt Sun Jul 11 14:26:24 2021 +0000 2.3 @@ -22,7 +22,7 @@ 2.4 compile_rules() 2.5 { 2.6 patch -p0 < $stuff/cloop.u 2.7 - make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 2.8 + make ARCH=i386 KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 2.9 } 2.10 2.11 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/linux/receipt Sun Jul 11 11:04:20 2021 +0000 3.2 +++ b/linux/receipt Sun Jul 11 14:26:24 2021 +0000 3.3 @@ -266,7 +266,7 @@ 3.4 echo -e "\n* Configure bzImage64 without modules...\n" 3.5 yes '' | make ARCH=x86_64 oldconfig 3.6 echo -e "\n* Building bzImage64 without modules...\n" 3.7 - make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || exit 1 3.8 + make ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || exit 1 3.9 mv arch/x86/boot/bzImage $DESTDIR/linux64 3.10 mv System.map System.map-without-modules64 3.11 mv vmlinux vmlinux-without-modules64 3.12 @@ -278,8 +278,8 @@ 3.13 echo -e "\n* Configure bzImage64 with modules...\n" 3.14 yes '' | make ARCH=x86_64 oldconfig 3.15 echo -e "\n* Building bzImage64 with modules...\n" 3.16 - make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage && 3.17 - make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- modules && 3.18 + make ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage && 3.19 + make ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- modules && 3.20 make ARCH=x86_64 INSTALL_MOD_PATH=$DESTDIR/linux64 modules_install && 3.21 make ARCH=x86_64 INSTALL_HDR_PATH=$DESTDIR/linux64/usr headers_install && 3.22 ln .config $WOK/$PACKAGE/source/slitaz/config64 3.23 @@ -308,7 +308,7 @@ 3.24 echo -e "\n* Configure bzImage without modules...\n" 3.25 yes '' | make ARCH=i386 oldconfig 3.26 echo -e "\n* Building bzImage without modules...\n" 3.27 - make ARCH=i386 -j 4 bzImage || exit 1 3.28 + make ARCH=i386 bzImage || exit 1 3.29 [ -d $DESTDIR ] || mkdir -p $DESTDIR 3.30 mv arch/x86/boot/bzImage $DESTDIR 3.31 mv System.map System.map-without-modules 3.32 @@ -322,8 +322,8 @@ 3.33 yes '' | make ARCH=i386 oldconfig 3.34 ln .config $WOK/$PACKAGE/source/slitaz/config 3.35 echo -e "\n* Building bzImage with modules...\n" 3.36 - make ARCH=i386 -j 4 bzImage && 3.37 - make ARCH=i386 -j 4 modules && 3.38 + make ARCH=i386 bzImage && 3.39 + make ARCH=i386 modules && 3.40 make ARCH=i386 INSTALL_MOD_PATH=$DESTDIR modules_install && 3.41 make ARCH=i386 INSTALL_HDR_PATH=$DESTDIR/usr headers_install && 3.42 [ -s arch/x86/boot/bzImage ] || return 1
4.1 --- a/linux64-aufs/receipt Sun Jul 11 11:04:20 2021 +0000 4.2 +++ b/linux64-aufs/receipt Sun Jul 11 14:26:24 2021 +0000 4.3 @@ -41,7 +41,7 @@ 4.4 sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c 4.5 sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c 4.6 4.7 - make -j 1 KDIR=/usr/src/linux 4.8 + make ARCH=x86_64 KDIR=/usr/src/linux 4.9 xz -f fs/aufs/aufs.ko 4.10 } 4.11
5.1 --- a/linux64-cloop/receipt Sun Jul 11 11:04:20 2021 +0000 5.2 +++ b/linux64-cloop/receipt Sun Jul 11 14:26:24 2021 +0000 5.3 @@ -25,7 +25,7 @@ 5.4 compile_rules() 5.5 { 5.6 patch -p0 < $stuff/cloop.u 5.7 - make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 5.8 + make ARCH=x86_64 KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 5.9 } 5.10 5.11 # Rules to gen a SliTaz package suitable for Tazpkg.