Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 2/4] kernel-build.eclass: Build logic for dist-kernels
Date: Mon, 06 Jan 2020 17:54:35
Message-Id: da6ed54da8c38e442ab1a78406c71a4dba8487d0.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v2 2/4] kernel-build.eclass: Build logic for dist-kernels by Mike Gilbert
1 On Mon, 2020-01-06 at 12:43 -0500, Mike Gilbert wrote:
2 > On Sun, Jan 5, 2020 at 1:27 AM Michał Górny <mgorny@g.o> wrote:
3 > > +# @FUNCTION: kernel-build_src_configure
4 > > +# @DESCRIPTION:
5 > > +# Prepare the toolchain for building the kernel, get the default .config
6 > > +# or restore savedconfig, and get build tree configured for modprep.
7 > > +kernel-build_src_configure() {
8 > > + debug-print-function ${FUNCNAME} "${@}"
9 > > +
10 > > + # force ld.bfd if we can find it easily
11 > > + local LD="$(tc-getLD)"
12 > > + if type -P "${LD}.bfd" &>/dev/null; then
13 > > + LD+=.bfd
14 > > + fi
15 >
16 > Is there some reason not to use the tc-ld-disable-gold function?
17 >
18
19 Yes. As the name says, it covers gold usage only and not lld.
20
21 --
22 Best regards,
23 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies