Re: [regression] GNUmakefile broken on v6.5-rc1

From: Masahiro Yamada
Date: Fri Jul 21 2023 - 09:51:53 EST


On Fri, Jul 21, 2023 at 9:05 PM Kalle Valo <kvalo@xxxxxxxxxx> wrote:
>
> Hi Masahiro,
>
> For a long time I have been using GNUmakefile in the top level source
> directory to change compilers, enable ccache etc. Here's a simplified
> GNUmakefile example:
>
> CROSS_COMPILE=/opt/cross/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-
> include Makefile



You need to export the variables.


The following should work.



export CROSS_COMPILE=/opt/cross/gcc-13.1.0-nolibc/x86_64-linux/bin/x86_64-linux-
include Makefile






--
Best Regards
Masahiro Yamada