[PATCH] kselftest/arm64/gcs/basic-gcs: Respect parent directory CFLAGS
Will Deacon
will at kernel.org
Thu Sep 18 04:06:36 PDT 2025
On Tue, 16 Sep 2025 18:51:35 +0200, Thomas Weißschuh wrote:
> basic-gcs has it's own make rule to handle the special compiler
> invocation to build against nolibc. This rule does not respect the
> $(CFLAGS) passed by the Makefile from the parent directory.
> However these $(CFLAGS) set up the include path to include the UAPI
> headers from the current kernel.
> Due to this the asm/hwcap.h header is used from the toolchain instead of
> the UAPI and the definition of HWCAP_GCS is not found.
>
> [...]
Applied to arm64 (for-next/selftests), thanks!
[1/1] kselftest/arm64/gcs/basic-gcs: Respect parent directory CFLAGS
https://git.kernel.org/arm64/c/5b7bdc4402b1
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list