Re: [PATCH] Fix compilation errors when using special directory

From: Nick Desaulniers
Date: Tue Jan 04 2022 - 13:07:21 EST


On Thu, Dec 30, 2021 at 11:55 PM <cgel.zte@xxxxxxxxx> wrote:
>
> From: xu xin <xu.xin16@xxxxxxxxxx>
>
> When we compile the kernel with cross compilers, if CROSS_COMPILE is
> specified by the path containing special directory like '~', some
> compilation error will occurs.
>
> Here's an example:
>
> $ make ARCH=x86_64
> CROSS_COMPILE=~/x86_64_gcc9.2.0_glibc2.31.0/bin/x86_64-pc-linux-gnu- all

I guess you could replace ~ with `$(realpath ...)` in the above
command line invocation of make?
--
Thanks,
~Nick Desaulniers