Re: [PATCH 1/2] kbuild: dummy-tools: Add elfedit.

From: Masahiro Yamada
Date: Sat Apr 10 2021 - 14:13:54 EST


On Fri, Apr 9, 2021 at 6:31 AM Michal Suchanek <msuchanek@xxxxxxx> wrote:
>
> elfedit is used in Makefile
>
> Makefile:GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit))
>
> which causes this error getting printed
>
> which: no elfedit in (./scripts/dummy-tools)


I am OK with this patch, but how did you reproduce it?




>
> Add elfedit to dummy-tools to avoid this error.
>
> Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
> ---
> scripts/dummy-tools/elfedit | 1 +
> 1 file changed, 1 insertion(+)
> create mode 120000 scripts/dummy-tools/elfedit
>
> diff --git a/scripts/dummy-tools/elfedit b/scripts/dummy-tools/elfedit
> new file mode 120000
> index 000000000000..c0648b38dd42
> --- /dev/null
> +++ b/scripts/dummy-tools/elfedit
> @@ -0,0 +1 @@
> +ld
> \ No newline at end of file
> --
> 2.26.2
>


--
Best Regards
Masahiro Yamada