1 From 69a92f4576a1e789ba2fcf957164d2c4013020c5 Mon Sep 17 00:00:00 2001
2 From: Otavio Salvador <otavio@ossystems.com.br>
3 Date: Wed, 2 Dec 2015 13:36:25 +0000
4 Subject: [PATCH] Stop using Git to write local version
5 Organization: O.S. Systems Software LTDA.
7 The standard version does not use a Git repository so we should not
8 use Git to identify the commit of the build as it can end getting the
9 version from a wrong repository and can be misleading.
11 Upstream-Status: Pending
13 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
15 https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch]
16 Signed-off-by: Andrew Webster <awebster@arcx.com>
18 EXA/src/makefile.tc | 6 +++---
19 FslExt/src/makefile.tc | 6 +++---
20 util/autohdmi/makefile.tc | 6 +++---
21 util/pandisplay/makefile.tc | 6 +++---
22 4 files changed, 12 insertions(+), 12 deletions(-)
24 diff --git a/EXA/src/makefile.tc b/EXA/src/makefile.tc
25 index 0b9a9e6..ec6e68d 100644
26 --- a/EXA/src/makefile.tc
27 +++ b/EXA/src/makefile.tc
28 @@ -52,8 +52,8 @@ prefix ?= /usr
31 # get git commit number
32 -COMMITNR := `git log -n 1 --format=%H`
33 -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
34 -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
35 +#COMMITNR := `git log -n 1 --format=%H`
36 +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
37 +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
40 diff --git a/FslExt/src/makefile.tc b/FslExt/src/makefile.tc
41 index 0b9a9e6..ec6e68d 100644
42 --- a/FslExt/src/makefile.tc
43 +++ b/FslExt/src/makefile.tc
44 @@ -52,8 +52,8 @@ prefix ?= /usr
47 # get git commit number
48 -COMMITNR := `git log -n 1 --format=%H`
49 -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
50 -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
51 +#COMMITNR := `git log -n 1 --format=%H`
52 +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
53 +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
56 diff --git a/util/autohdmi/makefile.tc b/util/autohdmi/makefile.tc
57 index c9de0a6..d0a468c 100644
58 --- a/util/autohdmi/makefile.tc
59 +++ b/util/autohdmi/makefile.tc
60 @@ -64,8 +64,8 @@ prefix ?= /usr
63 # get git commit number
64 -COMMITNR := `git log -n 1 --format=%H`
65 -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
66 -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
67 +#COMMITNR := `git log -n 1 --format=%H`
68 +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
69 +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
72 diff --git a/util/pandisplay/makefile.tc b/util/pandisplay/makefile.tc
73 index 28732b9..bf54c20 100644
74 --- a/util/pandisplay/makefile.tc
75 +++ b/util/pandisplay/makefile.tc
76 @@ -64,8 +64,8 @@ prefix ?= /usr
79 # get git commit number
80 -COMMITNR := `git log -n 1 --format=%H`
81 -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
82 -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
83 +#COMMITNR := `git log -n 1 --format=%H`
84 +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
85 +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"