0001-Add-unused-fake-version.patch 1.0 KB

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