diff --git a/srcpkgs/linux3.16/files/i386-dotconfig b/srcpkgs/linux3.16/files/i386-dotconfig index c156fadda56..eeb5f4a76e7 100644 --- a/srcpkgs/linux3.16/files/i386-dotconfig +++ b/srcpkgs/linux3.16/files/i386-dotconfig @@ -2966,7 +2966,6 @@ CONFIG_HW_RANDOM_VIA=m CONFIG_HW_RANDOM_VIRTIO=m CONFIG_HW_RANDOM_TPM=m CONFIG_NVRAM=m -CONFIG_R3964=m CONFIG_APPLICOM=m # CONFIG_SONYPI is not set CONFIG_MWAVE=m @@ -5053,7 +5052,6 @@ CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m CONFIG_USB_SEVSEG=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_LED=m diff --git a/srcpkgs/linux3.16/files/x86_64-dotconfig b/srcpkgs/linux3.16/files/x86_64-dotconfig index 335ab99a51a..64f29994e51 100644 --- a/srcpkgs/linux3.16/files/x86_64-dotconfig +++ b/srcpkgs/linux3.16/files/x86_64-dotconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.16.77 Kernel Configuration +# Linux/x86 3.16.82 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -2962,7 +2962,6 @@ CONFIG_HW_RANDOM_VIA=m CONFIG_HW_RANDOM_VIRTIO=m CONFIG_HW_RANDOM_TPM=m CONFIG_NVRAM=m -CONFIG_R3964=m CONFIG_APPLICOM=m CONFIG_MWAVE=m CONFIG_RAW_DRIVER=m @@ -5027,7 +5026,6 @@ CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m CONFIG_USB_SEVSEG=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_LED=m diff --git a/srcpkgs/linux3.16/patches/ia32-flags.patch b/srcpkgs/linux3.16/patches/ia32-flags.patch new file mode 100644 index 00000000000..b6025c66bb0 --- /dev/null +++ b/srcpkgs/linux3.16/patches/ia32-flags.patch @@ -0,0 +1,21 @@ +--- linux-3.16.82/arch/x86/ia32/Makefile 2020-02-11 21:03:59.000000000 +0100 ++++ linux-3.16.82/arch/x86/ia32/Makefile 2020-02-15 20:22:12.356181352 +0100 +@@ -2,6 +2,8 @@ + # Makefile for the ia32 kernel emulation subsystem. + # + ++AFLAGS_ia32entry.o := -Wa,-mintel64 ++ + obj-$(CONFIG_IA32_EMULATION) := ia32entry.o sys_ia32.o ia32_signal.o + obj-$(CONFIG_IA32_EMULATION) += nosyscall.o syscall_ia32.o + +--- linux-3.16.82/arch/x86/kernel/Makefile 2020-02-11 21:03:59.000000000 +0100 ++++ linux-3.16.82/arch/x86/kernel/Makefile 2020-02-15 20:35:20.276149935 +0100 +@@ -5,6 +5,7 @@ + extra-y := head_$(BITS).o head$(BITS).o head.o vmlinux.lds + + CPPFLAGS_vmlinux.lds += -U$(UTS_MACHINE) ++CFLAGS_paravirt_patch_64.o := -Wa,-mintel64 + + ifdef CONFIG_FUNCTION_TRACER + # Do not profile debug and lowlevel utilities diff --git a/srcpkgs/linux3.16/template b/srcpkgs/linux3.16/template index 763d53f8f67..24fd0535f4e 100644 --- a/srcpkgs/linux3.16/template +++ b/srcpkgs/linux3.16/template @@ -1,6 +1,6 @@ # Template file for 'linux3.16' pkgname=linux3.16 -version=3.16.81 +version=3.16.82 revision=1 wrksrc="linux-${version}" short_desc="Linux kernel and modules (${version%.*} series)" @@ -8,7 +8,7 @@ maintainer="Jürgen Buchmüller " license="GPL-2.0-only" homepage="https://www.kernel.org" distfiles="${KERNEL_SITE}/kernel/v3.x/linux-${version}.tar.xz" -checksum=24c21bc7cbd311282362b2e3ebc13417d725b0409ba14d6f9b6f1cf23a9fcbb3 +checksum=7211900eb429e95ee9a49b58976dc091fc7329909f3bd556e5185d9856890a77 patch_args="-Np1" _kernver="${version}_${revision}" @@ -19,7 +19,8 @@ noshlibprovides=yes nodebug=yes preserve=yes archs="i686* x86_64*" -makedepends="bc perl kmod" +hostmakedepends="bc bzip2 cpio flex perl kmod tar which + elfutils-devel libressl-devel" triggers="kernel-hooks" # These files could be modified when an external module is built. mutable_files=" @@ -33,13 +34,17 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" -export CCACHE_DISABLE=1 - do_configure() { # If there's a file called -dotconfig, use it to # configure the kernel; otherwise use arch defaults and all stuff # as modules (defconfig+allmodconfig). - local arch + local arch nowarn + + nowarn=" -Wno-missing-attributes" + nowarn+=" -Wno-packed-not-aligned" + nowarn+=" -Wno-address-of-packed-member" + + vsed -i Makefile -e"s;-Wno-format-security;& ${nowarn};" case "$XBPS_TARGET_MACHINE" in i686*) arch=i386;;