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 <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-01-27 23:06:10 +01:00
parent 35c6bc54b2
commit aab065b509

View File

@ -39,6 +39,10 @@ pre_configure_target() {
rm -rf .$TARGET_NAME rm -rf .$TARGET_NAME
} }
post_configure_target() {
sed -e "s|^GIT_VERSION :=.*$|GIT_VERSION := \" ${PKG_VERSION:0:7}\"|" -i Makefile.libretro
}
make_target() { make_target() {
make -f Makefile.libretro make -f Makefile.libretro
} }