summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-02 22:30:08 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-02 22:32:50 +0100
commit7cc3472b1bbd63b2a7afb760961e1d25708fe683 (patch)
treefa301fc6b104b6d0968079307314e34dd357c2bd /virtual/linux-sources/linux-sources-3-r2.ebuild
parentmedia-libs/libglvnd-1.3.0: add ~sparc, bug 702132 (diff)
downloadgentoo-7cc3472b1bbd63b2a7afb760961e1d25708fe683.tar.gz
gentoo-7cc3472b1bbd63b2a7afb760961e1d25708fe683.tar.bz2
gentoo-7cc3472b1bbd63b2a7afb760961e1d25708fe683.zip
virtual/linux-sources: Permit vanilla-kernel as sources provider
While vanilla-kernel does not install full kernel sources, it provides enough files to build kernel modules. Add it to the list to avoid meaninglessly pulling another sources. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'virtual/linux-sources/linux-sources-3-r2.ebuild')
-rw-r--r--virtual/linux-sources/linux-sources-3-r2.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/virtual/linux-sources/linux-sources-3-r2.ebuild b/virtual/linux-sources/linux-sources-3-r2.ebuild
new file mode 100644
index 00000000000..d8bca86e677
--- /dev/null
+++ b/virtual/linux-sources/linux-sources-3-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Virtual for Linux kernel sources"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="firmware"
+
+RDEPEND="
+ firmware? ( sys-kernel/linux-firmware )
+ || (
+ sys-kernel/gentoo-sources
+ sys-kernel/vanilla-sources
+ sys-kernel/ck-sources
+ sys-kernel/git-sources
+ sys-kernel/hardened-sources
+ sys-kernel/mips-sources
+ sys-kernel/pf-sources
+ sys-kernel/rt-sources
+ sys-kernel/xbox-sources
+ sys-kernel/zen-sources
+ sys-kernel/aufs-sources
+ sys-kernel/raspberrypi-sources
+ sys-kernel/vanilla-kernel
+ )"