From aab065b5091c035fa63ef539aae4478d4727081b Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 27 Jan 2019 23:06:10 +0100 Subject: [PATCH] libretro-picodrive: drop git rev-parse call from Makefile git rev-parse runs into the LE tree and sets GIT_VERSION to the current LE githash - which is nonsense. Just set GIT_VERSION to the (shortened) PKG_VERSION in the Makefile to avoid this issue. Signed-off-by: Matthias Reichl --- packages/emulation/libretro-picodrive/package.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/emulation/libretro-picodrive/package.mk b/packages/emulation/libretro-picodrive/package.mk index fe0843a3eb..70f78b5b42 100644 --- a/packages/emulation/libretro-picodrive/package.mk +++ b/packages/emulation/libretro-picodrive/package.mk @@ -39,6 +39,10 @@ pre_configure_target() { rm -rf .$TARGET_NAME } +post_configure_target() { + sed -e "s|^GIT_VERSION :=.*$|GIT_VERSION := \" ${PKG_VERSION:0:7}\"|" -i Makefile.libretro +} + make_target() { make -f Makefile.libretro }