mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
add git version to android build
This commit is contained in:
parent
0bc7d40948
commit
b1531618f1
@ -1,4 +1,5 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
RARCH_DIR := ../../../..
|
||||
@ -13,6 +14,11 @@ DEFINES :=
|
||||
LIBRETRO_COMM_DIR := $(RARCH_DIR)/libretro-common
|
||||
DEPS_DIR := $(RARCH_DIR)/deps
|
||||
|
||||
GIT_VERSION := $(shell git rev-parse --short HEAD 2>/dev/null)
|
||||
ifneq ($(GIT_VERSION),)
|
||||
DEFINES += -DHAVE_GIT_VERSION -DGIT_VERSION=$(GIT_VERSION)
|
||||
endif
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
DEFINES += -DANDROID_ARM -marm
|
||||
|
Loading…
x
Reference in New Issue
Block a user