tools: arm64: Add a Makefile for generating sysreg-defs.h
authorOliver Upton <oliver.upton@linux.dev>
Wed, 11 Oct 2023 19:57:36 +0000 (19:57 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 18 Oct 2023 23:36:25 +0000 (23:36 +0000)
commit02e85f74668e1aa0062708b58d8aef020054e56c
treea1c152f1988c3b46183233b1ea10126b6a32444b
parentdafa493dd01d5992f1cb70b08d1741c3ab99e04a
tools: arm64: Add a Makefile for generating sysreg-defs.h

Use a common Makefile for generating sysreg-defs.h, which will soon be
needed by perf and KVM selftests. The naming scheme of the generated
macros is not expected to change, so just refer to the canonical
script/data in the kernel source rather than copying to tools.

Co-developed-by: Jing Zhang <jingzhangos@google.com>
Signed-off-by: Jing Zhang <jingzhangos@google.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231011195740.3349631-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
tools/arch/arm64/include/.gitignore [new file with mode: 0644]
tools/arch/arm64/tools/Makefile [new file with mode: 0644]