* [PATCH] arm: Remove build path from generated mach-types.h
@ 2024-10-02 17:50 Ryan Eatmon
0 siblings, 0 replies; only message in thread
From: Ryan Eatmon @ 2024-10-02 17:50 UTC (permalink / raw)
To: Russell King, linux-kernel, Ryan Eatmon
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-02 17:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-02 17:50 [PATCH] arm: Remove build path from generated mach-types.h Ryan Eatmon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®