X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Android.common.mk;h=3e6d4c398911a3747a5e048f2d82a3c1c3f46e74;hb=0e2f0baa43b7d06c88168fdbcff3e26b6dd4970b;hp=215c640fbc03cc4b001583e0fff44b18b602d6b1;hpb=e34fe8bd20b91d229018ca4fd6b051bfeb089642;p=mesa.git diff --git a/Android.common.mk b/Android.common.mk index 215c640fbc0..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-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)