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 |