Re: [PATCH v3] tools: hv: Fix cross-compilation
From: Wei Liu
Date: Tue Apr 14 2026 - 00:43:47 EST
On Thu, Apr 09, 2026 at 03:32:18AM -0700, Aditya Garg wrote:
> Use the native ARCH only in case it is not set, this will allow the
> cross-compilation where ARCH is explicitly set.
>
> Additionally, simplify the ARCH check to build the fcopy daemon only
> for x86 and x86_64.
>
> Fixes: 82b0945ce2c2 ("tools: hv: Add new fcopy application based on uio driver")
> Reported-by: Adrian Vladu <avladu@xxxxxxxxxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/linux-hyperv/PR3PR09MB54119DB2FD76977C62D8DD6AB04D2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
> Co-developed-by: Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Aditya Garg <gargaditya@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx>
Applied. Thanks.