diff options
Diffstat (limited to 'recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch')
| -rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch new file mode 100644 index 000000000..f541e5c17 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch | |||
| @@ -0,0 +1,87 @@ | |||
| 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. | ||
| 6 | |||
| 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. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
| 14 | --- | ||
| 15 | EXA/src/makefile.tc | 6 +++--- | ||
| 16 | FslExt/src/makefile.tc | 6 +++--- | ||
| 17 | util/autohdmi/makefile.tc | 6 +++--- | ||
| 18 | util/pandisplay/makefile.tc | 6 +++--- | ||
| 19 | 4 files changed, 12 insertions(+), 12 deletions(-) | ||
| 20 | |||
| 21 | diff --git a/EXA/src/makefile.tc b/EXA/src/makefile.tc | ||
| 22 | index 0b9a9e6..ec6e68d 100644 | ||
| 23 | --- a/EXA/src/makefile.tc | ||
| 24 | +++ b/EXA/src/makefile.tc | ||
| 25 | @@ -52,8 +52,8 @@ prefix ?= /usr | ||
| 26 | sysroot ?= / | ||
| 27 | |||
| 28 | # get git commit number | ||
| 29 | -COMMITNR := `git log -n 1 --format=%H` | ||
| 30 | -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 31 | -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 32 | +#COMMITNR := `git log -n 1 --format=%H` | ||
| 33 | +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 34 | +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 35 | |||
| 36 | |||
| 37 | diff --git a/FslExt/src/makefile.tc b/FslExt/src/makefile.tc | ||
| 38 | index 0b9a9e6..ec6e68d 100644 | ||
| 39 | --- a/FslExt/src/makefile.tc | ||
| 40 | +++ b/FslExt/src/makefile.tc | ||
| 41 | @@ -52,8 +52,8 @@ prefix ?= /usr | ||
| 42 | sysroot ?= / | ||
| 43 | |||
| 44 | # get git commit number | ||
| 45 | -COMMITNR := `git log -n 1 --format=%H` | ||
| 46 | -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 47 | -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 48 | +#COMMITNR := `git log -n 1 --format=%H` | ||
| 49 | +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 50 | +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 51 | |||
| 52 | |||
| 53 | diff --git a/util/autohdmi/makefile.tc b/util/autohdmi/makefile.tc | ||
| 54 | index c9de0a6..d0a468c 100644 | ||
| 55 | --- a/util/autohdmi/makefile.tc | ||
| 56 | +++ b/util/autohdmi/makefile.tc | ||
| 57 | @@ -64,8 +64,8 @@ prefix ?= /usr | ||
| 58 | sysroot ?= / | ||
| 59 | |||
| 60 | # get git commit number | ||
| 61 | -COMMITNR := `git log -n 1 --format=%H` | ||
| 62 | -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 63 | -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 64 | +#COMMITNR := `git log -n 1 --format=%H` | ||
| 65 | +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 66 | +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 67 | |||
| 68 | |||
| 69 | diff --git a/util/pandisplay/makefile.tc b/util/pandisplay/makefile.tc | ||
| 70 | index 28732b9..bf54c20 100644 | ||
| 71 | --- a/util/pandisplay/makefile.tc | ||
| 72 | +++ b/util/pandisplay/makefile.tc | ||
| 73 | @@ -64,8 +64,8 @@ prefix ?= /usr | ||
| 74 | sysroot ?= / | ||
| 75 | |||
| 76 | # get git commit number | ||
| 77 | -COMMITNR := `git log -n 1 --format=%H` | ||
| 78 | -DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 79 | -LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 80 | +#COMMITNR := `git log -n 1 --format=%H` | ||
| 81 | +#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'` | ||
| 82 | +#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}" | ||
| 83 | |||
| 84 | |||
| 85 | -- | ||
| 86 | 2.1.4 | ||
| 87 | |||
