[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPfAbn=OV8v=6VOH6avgGSfpW+_Wksu5qNLtXcGbATFs3g@mail.gmail.com>
Date: Mon, 6 May 2019 14:43:36 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andriin@...com>,
Alexei Starovoitov <ast@...nel.org>,
Gleb Fotengauer-Malinovskiy <glebfm@...linux.org>,
Alexey Gladkov <gladkov.alexey@...il.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
linux-kernel@...r.kernel.org
Cc: Jessica Yu <jeyu@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] kbuild: Fix cross compile link with ccache
+cc linux-kbuild@...r.kernel.org, Michal Marek (somehow
get_maintainers did not mention them)
On Mon, 6 May 2019 at 14:40, Krzysztof Kozlowski <krzk@...nel.org> wrote:
>
> Fix calling objcopy in case of cross compile environments:
>
> ARCH="arm" CROSS_COMPILE="ccache arm-linux-gnueabi-" make
> scripts/link-vmlinux.sh: line 211: ccache arm-linux-gnueabi-objcopy: command not found
>
> Fixes: 6a26793a7891 ("moduleparam: Save information about built-in modules in separate file")
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
> ---
> scripts/link-vmlinux.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
> index 62b9fc561af7..42ea6f9264ef 100755
> --- a/scripts/link-vmlinux.sh
> +++ b/scripts/link-vmlinux.sh
> @@ -208,7 +208,7 @@ modpost_link vmlinux.o
> ${MAKE} -f "${srctree}/scripts/Makefile.modpost" vmlinux.o
>
> info MODINFO modules.builtin.modinfo
> -"${OBJCOPY}" -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
> +${OBJCOPY} -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
>
> kallsymso=""
> kallsyms_vmlinux=""
> --
> 2.7.4
>
Powered by blists - more mailing lists