mirror of https://github.com/xemu-project/xemu.git
Makefile: Align QEMU_PKGVERSION with upstream
This commit is contained in:
parent
578e8e087a
commit
885947c9aa
4
Makefile
4
Makefile
|
@ -98,8 +98,8 @@ CONFIG_BLOCK := $(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS))
|
|||
QEMU_PKGVERSION := $(if $(PKGVERSION),$(PKGVERSION),$(shell \
|
||||
cd $(SRC_PATH); \
|
||||
if test -e .git; then \
|
||||
git rev-parse --short HEAD 2>/dev/null | tr -d '\n'; \
|
||||
if ! git diff --quiet HEAD &>/dev/null; then \
|
||||
git describe --match 'v*' 2>/dev/null | tr -d '\n'; \
|
||||
if ! git diff-index --quiet HEAD &>/dev/null; then \
|
||||
echo "-dirty"; \
|
||||
fi; \
|
||||
fi))
|
||||
|
|
Loading…
Reference in New Issue