wok-current diff linux64-wireguard/receipt @ rev 25629

Mass updates for current
author Stanislas Leduc <shann@slitaz.org>
date Wed Oct 11 18:45:46 2023 +0000 (14 months ago)
parents 4b3fc3102e2d
children
line diff
     1.1 --- a/linux64-wireguard/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.2 +++ b/linux64-wireguard/receipt	Wed Oct 11 18:45:46 2023 +0000
     1.3 @@ -12,10 +12,10 @@
     1.4  WGET_URL="https://git.zx2c4.com/$SOURCE/snapshot/$TARBALL"
     1.5  
     1.6  DEPENDS="linux64"
     1.7 -BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
     1.8 +BUILD_DEPENDS="linux64-module-headers xz"
     1.9  SUGGESTED="wireguard-tools"
    1.10  
    1.11 -AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    1.12 +# Use cross toolchain instead uclibc
    1.13  
    1.14  # What is the latest version available today?
    1.15  current_version()
    1.16 @@ -30,7 +30,12 @@
    1.17  	cd src
    1.18  	sed -i '/Wframe-larger-than=2048/d' Kbuild
    1.19  	patch -p0 < $stuff/socket.u
    1.20 -	make -k ARCH=x86_64 KERNELDIR="/usr/src/linux" && xz wireguard.ko
    1.21 +
    1.22 +        # Use cross toolchain x86_64
    1.23 +        export PATH=$PATH:/cross/x86_64/tools/bin
    1.24 +
    1.25 +	make -k ARCH=x86_64 CROSS_COMPILE=x86_64-slitaz-linux- \
    1.26 +		KERNELDIR="/usr/src/linux" && xz wireguard.ko
    1.27  }
    1.28  	
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.