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? |