Skip to contentSkip to conversation

arm: Remove build path from generated mach-types.h

PATCH New Ryan Eatmon 1 participant 1 message Oct 2, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: Remove build path from generated mach-types.h

For reproducible builds, having any of the build paths in a generated file is problematic. Simple fix is to just remove the path. This is similar to the same code in arch/sh/tools/gen-mach-types.

---
 arch/arm/tools/gen-mach-types | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/tools/gen-mach-types +1 -2
index cbe1c33bb871..9a2a5c0f1c45 100644
@@ -24,8 +24,7 @@ NF == 3 {
 
 END	{
 	  printf("/*\n");
-	  printf(" * This was automagically generated from %s!\n", FILENAME);
-	  printf(" * Do NOT edit\n");
+	  printf(" * This was automagically generated, do NOT edit.\n");
 	  printf(" */\n\n");
 	  printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
 	  printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
Signature · 1 line
2.17.1