Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <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:43:22
Message-Id: CAJ0EP40Rf2LirCmwjjB4Vqbu2Snm5irnXjM_B2byM8RBcqhQOw@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH v2 2/4] kernel-build.eclass: Build logic for dist-kernels by "Michał Górny"
1 On Sun, Jan 5, 2020 at 1:27 AM Michał Górny <mgorny@g.o> wrote:
2 > +# @FUNCTION: kernel-build_src_configure
3 > +# @DESCRIPTION:
4 > +# Prepare the toolchain for building the kernel, get the default .config
5 > +# or restore savedconfig, and get build tree configured for modprep.
6 > +kernel-build_src_configure() {
7 > + debug-print-function ${FUNCNAME} "${@}"
8 > +
9 > + # force ld.bfd if we can find it easily
10 > + local LD="$(tc-getLD)"
11 > + if type -P "${LD}.bfd" &>/dev/null; then
12 > + LD+=.bfd
13 > + fi
14
15 Is there some reason not to use the tc-ld-disable-gold function?

Replies