File: 000-drop-date-from-embedded-version.patch

package info (click to toggle)
jh7100-bootloader-recovery 0~2021.07.14~git2b268a1c-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,416 kB
  • sloc: ansic: 117,766; makefile: 157; asm: 84
file content (19 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
 Makefile |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,8 @@ EMPTY  :=
 SPACE  := $(EMPTY) $(EMPTY)
 PROGRAM = jh7100_recovery_boot
 
-SUFFIX=$(shell date +%y%m%d)
 GIT_VERSION=$(shell git show -s --pretty=format:%h)
-VERSION=$(SUFFIX)-$(GIT_VERSION)
+VERSION=$(GIT_VERSION)
 
 #############################################################
 # Makefile Arguments