From e09b8d51e34b0c4d0e9f2edb811661672c616e0a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 14 Oct 2018 21:20:43 +0100 Subject: sys-kernel/linux-image-redcore-lts : fix exheres to avoid distribution bans --- .../linux-image-redcore-lts-4.14.65.exheres-0 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0') diff --git a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 index f44e49e..39f8b9a 100644 --- a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 +++ b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 @@ -43,6 +43,7 @@ DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/linux-hardened.patch "${FILES}"/uksm-for-linux-hardened.patch "${FILES}"/0015-Enable-BFQ-io-scheduler-by-default.patch + "${FILES}"/linux-pkg-config.patch ) WORK="${WORKBASE}"/linux-"${PV}" @@ -57,14 +58,20 @@ pkg_setup() { src_prepare() { default - emake mrproper + edo emake CC="${CC}" HOSTCC="${CC}" mrproper edo sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile edo cp "${FILES}"/"${EXTRAVERSION}"-amd64.config .config } src_compile() { - emake prepare modules_prepare - emake bzImage modules + params=( + CC="${CC}" + HOSTCC="${CC}" + ) + + edo emake V=1 \ + "${params[@]}" \ + prepare modules_prepare bzImage modules } src_install() { -- cgit v1.2.3