[Mesa-dev] [PATCH] mesa: Allow custom text to be inserted in version string at buildtime
Kenneth Graunke
kenneth at whitecape.org
Tue Apr 23 00:23:04 PDT 2013
On 04/22/2013 06:28 PM, Chad Versace wrote:
> This allows maintainers/packagers/testers to tag the build with
> information that will be reported by GL_VERSION.
>
> If the environemt variable or make variable MESA_VERSION_STRING_EXTRA is
> set, then its values will appear in the GL_VERSION string immediately
> after "Mesa X.Y" and before "(git-xxxxxxx)".
>
> This patch implements supports MESA_VERSION_STRING_EXTRA only for Android.
> Other build systems are left as an excercise.
>
> CC: Matt Turner <mattst88 at gmail.com>
> CC: Tapani Pälli <tapani.palli at intel.com>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> ---
> src/mesa/Android.libmesa_dricore.mk | 4 ++++
> src/mesa/main/version.c | 3 +++
> 2 files changed, 7 insertions(+)
Seems useful. I can do this in the kernel, so why not Mesa?
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list