summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass/linux-mod: migrate to sys-apps/kmodMikle Kolyada2020-08-081-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* linux-mod.eclass: minor @USAGE syntax fixBen Kohler2020-03-311-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* linux-mod.eclass: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14646 Signed-off-by: David Seifert <soap@gentoo.org>
* linux-mod.eclass: Add support for kernels >=3.X in convert_to_mMike Pagano2019-06-111-1/+1
| | | | | | | | | | | | | | SUBDIRS= will be removed from Linux 5.3. See bug #680976 The linux-mod.eclass includes the function convert_to_m() that is supposed to fix Makefiles converting them from SUBDIRS= to M=. The auxiliary function use_m(), needed by convert_to_m(), is used to verify the kernel version before deciding to patch a file. Currently the check supports only kernel <= 3 Thanks to Fabio Rossi Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-mod.eclass: support DEBUG_INFO_{SPLIT,DWARF4} bug #653286Patrick McLean2019-03-141-0/+4
| | | | | | | | | | | When CONFIG_DEBUG_INFO_SPLIT and/or CONFIG_DEBUG_INFO_DWARF4 are set, the kernel build system tries to create a null.dwo file in the root of the kernel source directory. This adds an addpredict to prevent this from failing due to a sandbox failure. Acked-by: Thomas Deutschmann <whissi@gentoo.org> Closes: https://bugs.gentoo.org/653286 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* linux-mod.eclass: fix use of variables for EAPI=7Thomas Deutschmann2018-09-211-8/+8
| | | | | | | | Since EAPI 7, variables like "D" no longer have a trailing slash. However, linux-mod_pkg_preinst relied on a traling slash. Due to that, any EAPI=7 ebuilds using linux-mod eclass to install kernel modules didn't run DEPMOD and weren't added to MODULESDB.
* linux-mod: depend on libelfJason A. Donenfeld2018-06-281-1/+1
| | | | | | | | | Recent linux kernels rely on libelf at build time, which includes at the time of building out of tree modules. So if a module is relying on the existence of linux sources, it also needs to rely on libelf being installed. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* eclass/linux-mod.eclass: only need EAPI>0 if using IUSE default.Robin H. Johnson2018-01-181-4/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* eclass/linux-mod.eclass: implement MODULES_OPTIONAL_USE_IUSE_DEFAULT.Robin H. Johnson2018-01-181-1/+16
| | | | | | | | | Add IUSE default support for $MODULES_OPTIONAL_USE use flag variable. Defaults to disabled, and individual packages will have it enabled rather than tree-wide. Bug: https://bugs.gentoo.org/635720 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Drop trailing whitespacesJustin Lecher2017-03-191-1/+1
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* eclass/linux-mod.eclass: Check for TRIM_UNUSED_KSYMS (bug #591832).Jeroen Roovers2016-12-221-1/+4
|
* Update copyright year to 2016.Joshua Kinard2016-01-251-1/+1
|
* Change maintainer for linux-mod and linux-info eclasses to kernel@gentoo.org.Joshua Kinard2016-01-251-1/+1
|
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+741
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed