Guenter Roeck (linux(a)roeck-us.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1151
-gerrit
commit 5ca8014b8aa506b31dca23c5c3291d4b20bb0bd9
Author: Guenter Roeck <linux(a)roeck-us.net>
Date: Fri Jun 29 12:25:46 2012 -0700
superiotool: Add support for git-based version number
The superiotool Makefile extracts a version number from SVN. This does not work
well with a git repository, and results in an empty version number. Expand it to
use the git version number (using git describe) if the repository is not a svn
repository.
Change-Id: Idf92c02753b28ef5bcdd3b6df4a08d79ae974434
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
---
util/superiotool/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index e7d2f63..e141638 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -26,8 +26,13 @@ PREFIX = /usr/local
# Set the superiotool version string from the highest revision number
# of the checked out superiotool files.
+
+ifneq ($(shell svnversion -cn .), exported)
SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
- | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+ | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+else
+SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+endif
CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)
the following patch was just integrated into master:
commit ba08fd1e1d823ad64c37d7e3d50a796ffbf81b9d
Author: Anton Kochkov <anton.kochkov(a)gmail.com>
Date: Wed Jun 27 07:16:03 2012 +0400
libpayload: OHCI driver correct PCI BAR reading
Correct registers base (PCI BAR) reading to be
more specification friendly. Registers base
only in [31-12] bits, all other proposed to be 0
but that not true for some motherboards. So
adding mask to use only valid bits.
Change-Id: I2e9a4997e016dab812ccfe654e966bc91d42a625
Signed-off-by: Anton Kochkov <anton.kochkov(a)gmail.com>
See http://review.coreboot.org/1143 for details.
-gerrit
the following patch was just integrated into master:
commit 0a2af45778eb373d2e819b0c3c46e284265813ac
Author: Anton Kochkov <anton.kochkov(a)gmail.com>
Date: Thu Jun 28 08:19:41 2012 +0400
libpayload: use correct types in UHCI driver
As we using 16-bit reading and writing in UHCI drive,
so all variables related to that must be 16-bit too.
Change-Id: Ib1abb03d054c167512e21f24f3c3da688c7fd01f
Signed-off-by: Anton Kochkov <anton.kochkov(a)gmail.com>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Fri Jun 29 22:12:02 2012, giving +2
See http://review.coreboot.org/1144 for details.
-gerrit
Guenter Roeck (linux(a)roeck-us.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1151
-gerrit
commit 8f09719f1a868c59b09e877ba40684a80836949b
Author: Guenter Roeck <linux(a)roeck-us.net>
Date: Fri Jun 29 12:25:46 2012 -0700
superiotool: Add support for git-based version number
The superiotool Makefile extracts a version number from SVN. This does not work
well with a git repository, and results in an empty version number. Expand it to
use the git version number (using git describe) if the repository is not a svn
repository.
Change-Id: Idf92c02753b28ef5bcdd3b6df4a08d79ae974434
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
---
util/superiotool/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index e7d2f63..e141638 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -26,8 +26,13 @@ PREFIX = /usr/local
# Set the superiotool version string from the highest revision number
# of the checked out superiotool files.
+
+ifneq ($(shell svnversion -cn .), exported)
SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
- | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+ | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
+else
+SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+endif
CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)