Gentoo Archives: gentoo-dev

From: Mike <mpagano@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] linux-info.eclass : Remove references to linux 2.4 and gcc 4
Date: Tue, 07 Sep 2021 22:51:27
Message-Id: 0300cb6f-01c6-8c74-2595-3e4202ec8852@gentoo.org
1 Linux 2.4 and gcc 4 are long gone from the tree
2 Remove some log lines
3
4
5 Signed-off-by: Mike Pagano <mpagano@g.o>
6 ---
7 eclass/linux-info.eclass | 15 ---------------
8 1 file changed, 15 deletions(-)
9
10 diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
11 index f794f42d0..4e08949a3 100644
12 --- a/eclass/linux-info.eclass
13 +++ b/eclass/linux-info.eclass
14 @@ -963,21 +963,6 @@ linux-info_pkg_setup() {
15
16 linux-info_get_any_version
17
18 - if kernel_is 2 4; then
19 - if [ "$( gcc-major-version )" -eq "4" ] ; then
20 - echo
21 - ewarn "Be warned !! >=sys-devel/gcc-4.0.0 isn't supported with"
22 - ewarn "linux-2.4 (or modules building against a linux-2.4 kernel)!"
23 - echo
24 - ewarn "Either switch to another gcc-version (via gcc-config) or use a"
25 - ewarn "newer kernel that supports >=sys-devel/gcc-4."
26 - echo
27 - ewarn "Also, be aware that bug reports about gcc-4 not working"
28 - ewarn "with linux-2.4 based ebuilds will be closed as INVALID!"
29 - echo
30 - fi
31 - fi
32 -
33 [ -n "${CONFIG_CHECK}" ] && check_extra_config;
34 }
35
36 --
37 2.32.0

Replies