[Buildroot] [RFC PATCH 4/4] Add linker override to config options

Joseph Kogut joseph.kogut at gmail.com
Mon Jul 29 17:55:54 UTC 2019


Hi Carlos,

On Fri, Jul 26, 2019 at 7:25 PM Carlos Santos <unixmania at gmail.com> wrote:
>
> On Wed, Jul 24, 2019 at 2:35 PM Joseph Kogut <joseph.kogut at gmail.com> wrote:
> >
> > Signed-off-by: Joseph Kogut <joseph.kogut at gmail.com>
> [...]
> >
> > +ifeq ($(BR2_LINKER_LLD),y)
> > +TOOLCHAIN_WRAPPER_ARGS += -DBR_LINKER='"lld"'
>
> Sorry for the nitpicking but Buildroot normally uses the "BR2_" prefix
> fo perhaps this should be "BR2_LINKER"
>

Correct, most constants are prefixed with BR2_*, with the exception of
definitions in the toolchain wrapper. I chose BR_LINKER to remain
consistent with the other code in the wrapper.

Best,
Joseph


More information about the buildroot mailing list