]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64/hwcap: Include kernel-hwcap.h in list of generated files
authorMark Brown <broonie@kernel.org>
Mon, 13 Apr 2026 15:44:11 +0000 (16:44 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Apr 2026 15:23:40 +0000 (16:23 +0100)
When adding generation for the kernel internal constants for hwcaps the
generated file was not explicitly flagged as such in the build system,
causing it to be regenerated on each build. This wasn't obvious when the
series the change was included in was developed since it was all about
changes that trigger rebuilds anyway.

Fixes: abed23c3c44f ("arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps")
Reported-by: Marek Vasut <marex@nabladev.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/Kbuild

index d2ff8f6c3231c332346ed717a3db556599349231..31441790b8082f4f91c6aa86dd3e2f7142abe2b6 100644 (file)
@@ -17,4 +17,5 @@ generic-y += parport.h
 generic-y += user.h
 
 generated-y += cpucap-defs.h
+generated-y += kernel-hwcap.h
 generated-y += sysreg-defs.h