-ifeq ($(NEON_BUILD)$(TARGET_ARCH_ABI),1armeabi-v7a)
- LOCAL_MODULE := retro_picodrive-neon
-else
- LOCAL_MODULE := retro_picodrive
+GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
+ifneq ($(GIT_VERSION)," unknown")
+ LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"