xref: /OK3568_Linux_fs/buildroot/package/imx-mkimage/0003-Add-unused-fake-version.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From b25b4324be4c0dd9ee5fecdf2981d291fb187686 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
3Date: Mon, 25 Feb 2019 22:15:55 +0100
4Subject: [PATCH] Add unused fake version
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9The Makefile makes the assumption that the build process runs
10from a Git clone of the source code.
11We can safely add a fake version here, because the code to
12print it is broken anyway.
13
14Signed-off-by: André Hentschel <nerv@dawncrow.de>
15---
16 Makefile | 4 +---
17 1 file changed, 1 insertion(+), 3 deletions(-)
18
19diff --git a/Makefile b/Makefile
20index 49ef486..b966399 100644
21--- a/Makefile
22+++ b/Makefile
23@@ -37,9 +37,7 @@ $(MKIMG): src/build_info.h $(SRCS)
24 bin: $(MKIMG)
25
26 src/build_info.h:
27-	@echo -n '#define MKIMAGE_COMMIT 0x' > src/build_info.h
28-	@git rev-parse --short=8 HEAD >> src/build_info.h
29-	@echo '' >> src/build_info.h
30+	@echo '#define MKIMAGE_COMMIT 0xdeadbeef' > src/build_info.h
31
32 help:
33 	@echo $(CURR_DIR)
34--
352.25.1
36
37