[PATCH v2 3/5] KVM: selftests: Generate sysreg-defs.h and add to include path

Mark Brown broonie at kernel.org
Tue Oct 10 10:53:08 PDT 2023


On Tue, Oct 10, 2023 at 01:10:20AM +0000, Oliver Upton wrote:

> Start generating sysreg-defs.h for arm64 builds in anticipation of
> updating sysreg.h to a version that depends on it.

Reviewed-by: Mark Brown <broonie at kernel.org>

> +ifeq ($(ARCH),arm64)
> +arm64_tools_dir := $(top_srcdir)/tools/arch/arm64/tools/
> +GEN_HDRS := $(top_srcdir)/tools/arch/arm64/include/generated/
> +CFLAGS += -I$(GEN_HDRS)

We might want to hoist this up to the top level lib.mk at some point if
other kselftests want it too but let's not worry about it until it's a
practical issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20231010/bd458524/attachment.sig>


More information about the linux-arm-kernel mailing list