Messages in this thread |  | | From | Masahiro Yamada <> | Date | Wed, 8 Apr 2020 00:39:34 +0900 | Subject | Re: [PATCH] kbuild: add dummy toolchains to enable all cc-option etc. in Kconfig |
| |
On Tue, Apr 7, 2020 at 3:06 AM Jeremy Cline <jcline@redhat.com> wrote:
> > diff --git a/scripts/dummy-tools/ld b/scripts/dummy-tools/ld > > new file mode 100755 > > index 000000000000..3bc56ae4cc15 > > --- /dev/null > > +++ b/scripts/dummy-tools/ld > > @@ -0,0 +1,4 @@ > > +#!/bin/sh > > +# SPDX-License-Identifier: GPL-2.0-only > > + > > +# Dummy script that always succeeds > > It looks like scripts/Kbuild.include expects "$(LD) --version" to return > something. If it doesn't "ld-ifversion" stops working.
Actually, scripts/Kbuild.include is not used in the Kconfig stage. So, scripts/dummy-tools/ld does not need to handle --version or -v, but we may do that in the future.
I will support it in v2.
> Other than that it seems to work as advertised. Thanks! > > - Jeremy >
-- Best Regards Masahiro Yamada
|  |