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

Ryan Eatmon posted 1 patch 1 month, 3 weeks ago
arch/arm/tools/gen-mach-types | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] arm: Remove build path from generated mach-types.h
Posted by Ryan Eatmon 1 month, 3 weeks ago
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.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 arch/arm/tools/gen-mach-types | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/tools/gen-mach-types b/arch/arm/tools/gen-mach-types
index cbe1c33bb871..9a2a5c0f1c45 100644
--- a/arch/arm/tools/gen-mach-types
+++ b/arch/arm/tools/gen-mach-types
@@ -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");
-- 
2.17.1