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@xxxxxxxxxx> > +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.
Attachment:
signature.asc
Description: PGP signature