qubes-linux-kernel/patches.rpmify/split-package

34 lines
890 B
Plaintext
Raw Normal View History

From: Jeff Mahoney <jeffm@suse.com>
Subject: Add SPLIT_PACKAGE option
Patch-mainline: Never
This patch adds a SPLIT_PACKAGE option which allows the packager to
make decisions on a per-config basis.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
init/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2,6 +2,18 @@ config SUSE_KERNEL
bool
default y
+config SPLIT_PACKAGE
+ bool "Split the kernel package into multiple RPMs"
+ depends on SUSE_KERNEL && MODULES
+ help
+ This is an option used by the kernel packaging infrastructure
+ to split kernel modules into different packages. It isn't used
+ by the kernel itself, but allows the the packager to make
+ decisions on a per-config basis.
+
+ If you aren't packaging a kernel for distribution, it's safe to
+ say n.
+
config ARCH
string
option env="ARCH"