File 0001-Hard-code-build-info.patch of Package imx-mkimage

From 0646fbee6d0002fe7ae161b0c743798994257742 Mon Sep 17 00:00:00 2001
From: "Ivan T. Ivanov" <iivanov@suse.de>
Date: Wed, 12 Mar 2025 05:31:03 +0200
Subject: [PATCH] Hard code build info

Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
---
 Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 5e9990b..6cb1a41 100644
--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,7 @@ $(MKIMG): src/build_info.h $(SRCS)
 bin: $(MKIMG)
 
 src/build_info.h:
-	@echo -n '#define MKIMAGE_COMMIT 0x' > src/build_info.h
-	@git rev-parse --short=8 HEAD >> src/build_info.h
-	@echo '' >> src/build_info.h
+	@echo -n '#define MKIMAGE_COMMIT 0xCACACECA' > src/build_info.h
 
 help:
 	@echo $(CURR_DIR)
-- 
2.43.0

openSUSE Build Service is sponsored by