summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass/kernel-2.eclass: Add pkgconfig to RDPEND,needed for make menuconfigMike Pagano2020-07-031-0/+1
| | | | | | | Thanks to William Throwe for reporting Closes: https://bugs.gentoo.org/730622 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: support gcc optimization patch for gcc 10.XMike Pagano2020-06-291-1/+11
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: use $(CC) as HOSTCCSergei Trofimovich2020-06-031-0/+1
| | | | | | | | | | | | | Before the change HOSTCC always used gcc. This was detected by Agostino on linux-headers package. After the change HOSTCC uses user-specified CC (or BUILD_CC). Tested on native linux-headers and on cross-*/linux-headers. Reported-by: Agostino Sarubbo https://bugs.gentoo.org/725878 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: avoid lexicographical compare on versions, bug #705246Sergei Trofimovich2020-05-271-4/+4
| | | | | | | | | | | | | | | | Originally found in bug #705240 as: ``` if [[ ... || ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} > 2.6.28 ]]; then ``` '>' are string comparisons. They are benign so far, but will start failing on linux-10 :) Let's be consistent and use version comparison. Closes: https://bugs.gentoo.org/705246 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: Revert "avoid lexicographical compare on versions, bug #705246"Sergei Trofimovich2020-05-261-4/+4
| | | | | | | | | | | | | | | | | | | This reverts commit 8493b3a1823ea5f24f44ea317ceced513b6722ed. Syntax errors: ``` kernel-2.eclass: line 1081: syntax error near `${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}' kernel-2.eclass: line 1081: syntax error near `${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}' kernel-2.eclass: line 1081: `if [[ ${KV_MAJOR} -ge 3 || ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -gt 2.6.24 ]] ; then' kernel-2.eclass: line 1081: `if [[ ${KV_MAJOR} -ge 3 || ver_test ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} -gt 2.6.24 ]] ; then' ``` Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: avoid lexicographical compare on versions, bug #705246Sergei Trofimovich2020-05-261-4/+4
| | | | | | | | | | | | | | | | Originally found in bug #705240 as: ``` if [[ ... || ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} > 2.6.28 ]]; then ``` '>' are string comparisons. They are benign so far, but will start failing on linux-10 :) Let's be consistent and use version comparison. Closes: https://bugs.gentoo.org/705246 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: Add gcc 10.X compatibility to CPU opt patchMike Pagano2020-05-131-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: update HOMEPAGEJoonas Niilola2019-12-051-1/+1
| | | | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13866 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
* Add me to the kernel-2 eclass genpatches download listAlice Ferrazzi2019-12-051-1/+1
| | | | Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
* kernel-2.eclass: Move genpatches uri from /space/distfiles-local to devspaceMike Pagano2019-10-121-1/+1
| | | | | | Co-authored-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Inline mirror://kernelMichał Górny2019-10-051-5/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: Add support for gcc 9.1 CPU optimization patchMike Pagano2019-08-231-6/+20
| | | | | | | See bug #692320 See https://github.com/graysky2/kernel_gcc_patch Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Inherit python-any-r1 only in deblob branchMichał Górny2019-08-151-3/+5
| | | | | Closes: https://github.com/gentoo/gentoo/pull/12684 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: Whitespace.Ulrich Müller2019-05-271-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Fix comment.Ulrich Müller2019-05-271-2/+2
| | | | | Acked-by: Mike Pagano <mpagano@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: Move cpu optimization patch for older kernels.Mike Pagano2019-02-211-3/+2
| | | | | | See bug #678498 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass: Fix kernel dependency for gcc v8 patch in kernel-2.eclassMike Pagano2019-02-181-2/+2
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass: Update cpu optimization support in kernel-2.eclassMike Pagano2019-02-181-9/+14
| | | | | | | | | | This patch clean's up the logic when applying or dropping the cpu optimization patch. This patch will also support the applying of the gcc v8 patch which will eventually be in genpatches and applied also via the 'experiemental' use flag after this support is enabled. Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Fix LICENSE for Linux 4.14 and later.Ulrich Müller2019-02-151-5/+6
| | | | | | | | | | | | Starting with version 4.14, the whole firmware tree has been dropped from the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b38923a068c10fc36ca8f596d650d095ce390b85 Therefore including "linux-firmware" in LICENSE is no longer accurate. Closes: https://bugs.gentoo.org/677756 Reviewed-by: Mike Pagano <mpagano@gentoo.org> Reviewed-by: Alice Ferrazzi <alicef@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: add linux 5.x supportThomas Deutschmann2019-01-071-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* kernel-2.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* kernel-2.eclass: add sys-devel/bison and sys-devel/flex to RDEPENDThomas Deutschmann2018-08-091-0/+2
| | | | | | | Since commit 033dba2ec06 [Link 1], kernel needs bison and flex. Link 1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=033dba2ec06c47a9fe1b190bc3281058fb20738d Closes: https://bugs.gentoo.org/663020
* kernel-2.eclass: sort RDEPEND alphabeticallyThomas Deutschmann2018-08-091-2/+2
|
* kernel-2.eclass: inherit estack eclassThomas Deutschmann2018-07-301-1/+1
| | | | | | In commit 3b73ebd9ac730549bb9edf5e8f9ff6614d08726a we removed eutils eclass usage. However, we still need eshopts_* functions provided by estack eclass.
* kernel-2.eclass: drop EAPI 0-1 support codeMarty E. Plummer2018-07-301-26/+14
| | | | | | | | | | Also went ahead and dropped versionator in favor of eapi7-ver for EAPI 0-6, and eutils for epatch. multilib dropped as unneeded. All ebuilds using it tested with ebuild clean install clean. Bug: https://bugs.gentoo.org/657926 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* kernel-2.eclass:Mike Pagano2018-06-181-6/+8
| | | | | Fix the unapplying of fbcondecor for sparc and include check for K_WANT_GENPATCHES. Closes bug #652152.
* eclass/kernel-2: use HTTPsMichael Mair-Keimberger2018-06-181-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/8881
* eclass: Remove remaining uses of epause and ebeep.Ulrich Müller2018-05-311-2/+0
| | | | These functions are long deprecated and only defined in EAPIs 0 to 2.
* Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=yAlice Ferrazzi2018-02-071-0/+1
| | | | | | | New 4.14 kernel is using CONFIG_UNWINDER_ORC=y by default but having USE="minimal" is removing virtual/libelf, this is breaking the Kernel compilation. Closes: https://github.com/gentoo/gentoo/pull/6898
* kernel-2.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-onlySergei Trofimovich2018-01-071-2/+2
| | | | | | | | | | | | | | | | | CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: Whitespace.Ulrich Müller2018-01-031-3/+3
|
* kernel-2.eclass: Specify LICENSE for firmware more precisely.Ulrich Müller2018-01-031-4/+4
| | | | Acked-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass/kernel-2.eclass: As per PMS remove calls to external command 'tr' in ↵Mike Pagano2017-08-311-3/+8
| | | | global scope. Closes bug 629106.
* kernel-2.eclass: Update eclass for new location for rc kernels > 1Mike Pagano2017-05-221-1/+1
|
* kernel-2.eclass: Fix file renaming for git-sourcesMike Pagano2017-05-191-2/+2
|
* kernel-2.eclass: Support new location and file type for git sources >= 4.12Mike Pagano2017-05-181-3/+13
|
* Drop () from function in documentationJustin Lecher2017-03-191-1/+1
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* Drop trailing whitespacesJustin Lecher2017-03-191-72/+72
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* kernel-2.eclass: enable eapi6Alice Ferrazzi2017-03-061-1/+1
|
* kernel-2.eclass: Add some additional text to bring some additional notice to ↵Mike Pagano2017-03-051-0/+6
| | | | users about the security considerations of a specific kernel and direct them to the upstream website for further information. See bug #599454
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* kernel-2.eclass: typo fixAlice Ferrazzi2017-01-241-3/+3
|
* kernel-2.eclass: s/uf/if/ in handle_genpatches doc blockGöktürk Yüksek2017-01-191-1/+1
|
* kernel-2.eclass: Point user to addtional kernel removal instructions. See ↵Mike Pagano2016-12-281-0/+3
| | | | bug #581522.
* kernel-2.eclass: Remove code that looks for Changelog which is also breaks ↵Mike Pagano2016-12-261-7/+0
| | | | PMS rules going above FILESDIR.
* kernel-2.eclass: Remove kdbus support as it is discontinued. First reported ↵Mike Pagano2016-12-151-18/+0
| | | | in bug #576614 by jon R-B.
* kernel-2.eclass: Add required @USAGE documentation to functions.Mike Pagano2016-12-141-4/+34
|
* kernel-2.eclass: Convert eclass to use documentation standardsMike Pagano2016-12-041-109/+333
|
* kernel-2.eclass: Minor cleanup. Remove die from global scope per EAPI 6 rules.Mike Pagano2016-12-021-3/+5
|
* kernel-2.eclass: Fix eapply_user as per PMS spec and execute in src_prepare. ↵Mike Pagano2016-12-011-9/+26
| | | | Support older EAPIs with epatch_user.