summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-14 21:20:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-14 21:20:43 +0100
commite09b8d51e34b0c4d0e9f2edb811661672c616e0a (patch)
tree9ec73d121c93174a93c31ca513f035cb8df94451 /packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0
parent52c1013ca3a6a3aad719efd5d173d64c2a0ec314 (diff)
sys-kernel/linux-image-redcore-lts : fix exheres to avoid distribution bans
Diffstat (limited to 'packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0')
-rw-r--r--packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-013
1 files changed, 10 insertions, 3 deletions
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() {