diff --git a/srcpkgs/linux4.19/patches/ppc64-be-elfv2.patch b/srcpkgs/linux4.19/patches/ppc64-be-elfv2.patch index 246777bf7e4..dde27580dc9 100644 --- a/srcpkgs/linux4.19/patches/ppc64-be-elfv2.patch +++ b/srcpkgs/linux4.19/patches/ppc64-be-elfv2.patch @@ -8,12 +8,12 @@ have. Ping q66 if it does not apply. ---- a/arch/powerpc/Makefile -+++ b/arch/powerpc/Makefile -@@ -93,10 +93,8 @@ MULTIPLEWORD := -mmultiple - endif +--- a/arch/powerpc/Makefile 2020-01-05 14:40:50.395763093 +0100 ++++ b/arch/powerpc/Makefile 2020-01-05 14:48:39.025251092 +0100 +@@ -92,10 +92,8 @@ ifdef CONFIG_PPC64 + ifndef CONFIG_CC_IS_CLANG -cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mabi=elfv1) -cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mcall-aixdesc) -aflags-$(CONFIG_CPU_BIG_ENDIAN) += $(call cc-option,-mabi=elfv1) @@ -21,12 +21,12 @@ Ping q66 if it does not apply. +cflags-y += $(call cc-option,-mabi=elfv2,$(call cc-option,-mcall-aixdesc)) +aflags-y += $(call cc-option,-mabi=elfv2,$(call cc-option,-mabi=elfv1)) endif - - ifndef CONFIG_CC_IS_CLANG -@@ -144,14 +142,8 @@ endif endif +@@ -144,14 +142,8 @@ + CFLAGS-$(CONFIG_PPC64) := $(call cc-option,-mtraceback=no) + ifndef CONFIG_CC_IS_CLANG -ifdef CONFIG_CPU_LITTLE_ENDIAN CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2,$(call cc-option,-mcall-aixdesc)) -AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2) @@ -36,9 +36,10 @@ Ping q66 if it does not apply. -AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv1) -endif +AFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mabi=elfv2,$(call cc-option,-mabi=elfv1)) + endif CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mcmodel=medium,$(call cc-option,-mminimal-toc)) CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions) - + --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -48,8 +48,8 @@ ifdef CONFIG_CPU_BIG_ENDIAN @@ -62,7 +63,7 @@ Ping q66 if it does not apply. endif quiet_cmd_perl = PERL $@ - + --- a/drivers/crypto/vmx/ppc-xlate.pl +++ b/drivers/crypto/vmx/ppc-xlate.pl @@ -40,7 +40,7 @@ my $globl = sub { diff --git a/srcpkgs/linux4.19/template b/srcpkgs/linux4.19/template index 332594d35b4..5474f805780 100644 --- a/srcpkgs/linux4.19/template +++ b/srcpkgs/linux4.19/template @@ -1,6 +1,6 @@ # Template file for 'linux4.19' pkgname=linux4.19 -version=4.19.92 +version=4.19.93 revision=1 wrksrc="linux-${version}" short_desc="Linux kernel and modules (${version%.*} series)" @@ -8,7 +8,7 @@ maintainer="Helmut Pozimski " license="GPL-2.0-only" homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz" -checksum=29c37cf8bbfa717ce98bc931371c35fcee3482734ad5faba32d02aff209883a2 +checksum=2af5d23f82a8bf69a6e4d8407579293b7beeebd3054dc464d48bdb5d2d7f5834 patch_args="-Np1" nodebug=yes # -dbg package is generated below manually @@ -18,7 +18,8 @@ noshlibprovides=yes preserve=yes archs="i686* x86_64* arm* aarch64* ppc*" -hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel libressl-devel perl uboot-mkimage" +hostmakedepends="bc elfutils-devel flex gmp-devel kmod libmpc-devel + libressl-devel perl uboot-mkimage tar xz" _kernver="${version}_${revision}" triggers="kernel-hooks"