mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-03-24 04:42:53 +01:00
Report git version with library_version
This commit is contained in:
@@ -2,6 +2,11 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
|
||||
ifneq ($(GIT_VERSION)," unknown")
|
||||
LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := retro
|
||||
CPU_ARCH :=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user