summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-03 01:36:04 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-07 13:39:08 +0100
commitf6088d565d3e3aff0da992aec1ddaca3934b0e14 (patch)
tree18ca35a4d28d4fac52dfc51756f11ab0c5de1f10 /profiles/arch/arm
parentsys-kernel/vanilla-kernel: Add a PDEP on virtual/prebuilt-kernel (diff)
downloadgentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.tar.gz
gentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.tar.bz2
gentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.zip
linux-mod.eclass: Add a prebuilt-kernel rebuild flag
Add a 'prebuilt-kernel' USE flag that controls a bound-slot dependency on virtual/prebuilt-kernel. If the flag is enabled, it should ensure that the module will be rebuilt automatically on future kernel upgrades. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'profiles/arch/arm')
-rw-r--r--profiles/arch/arm/use.mask6
-rw-r--r--profiles/arch/arm/use.stable.mask6
2 files changed, 10 insertions, 2 deletions
diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
index 5af05ca0a697..600ca159c4e2 100644
--- a/profiles/arch/arm/use.mask
+++ b/profiles/arch/arm/use.mask
@@ -1,9 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Unmask the flag which corresponds to ARCH.
-arm
+# Michał Górny <mgorny@gentoo.org> (2021-01-07)
+# Prebuilt kernels are supported here.
+-dist-kernel
+
# Unmask arm arch specific flags
-cpu_flags_arm_iwmmxt
-cpu_flags_arm_iwmmxt2
diff --git a/profiles/arch/arm/use.stable.mask b/profiles/arch/arm/use.stable.mask
index d969a69e4d3a..0edb74fb7acf 100644
--- a/profiles/arch/arm/use.stable.mask
+++ b/profiles/arch/arm/use.stable.mask
@@ -1,9 +1,13 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
+# Michał Górny <mgorny@gentoo.org> (2021-01-07)
+# Prebuilt kernel rebuilds are supported on stable yet.
+dist-kernel
+
# Sam James <sam@gentoo.org> (2020-12-22)
# Not yet stable
lirc