X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=Android.common.mk;h=3e6d4c398911a3747a5e048f2d82a3c1c3f46e74;hb=f6c392a2705322a01ff75d5bdc2c8f7df42b484b;hp=c6ee4e1dbea9c8043232cfe3c7709e5cee8e727b;hpb=c0f7ccc136effd921ef50b54ad0b8d349488f827;p=mesa.git diff --git a/Android.common.mk b/Android.common.mk index c6ee4e1dbea..3e6d4c39891 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -33,9 +33,10 @@ endif LOCAL_C_INCLUDES += \ $(MESA_TOP)/include +MESA_VERSION=$(shell cat $(MESA_TOP)/VERSION) # define ANDROID_VERSION (e.g., 4.0.x => 0x0400) LOCAL_CFLAGS += \ - -DPACKAGE_VERSION=\"9.2.0-devel\" \ + -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \ -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \ -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)