android: fix bison warning of conflicting outputs to file
authorAdrian Marius Negreanu <adrian.m.negreanu@intel.com>
Fri, 30 Nov 2012 07:52:20 +0000 (09:52 +0200)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 3 Dec 2012 20:12:28 +0000 (12:12 -0800)
commit409730843f48493690e2beb5ba2e036dbfdf378c
treef536545bc37750826fe90300a9666b8c4d4718f0
parenta4311054c78536acba0c3006c5d2805e182fa483
android: fix bison warning of conflicting outputs to file

Bison -o parameter expects a .c file.
The corresponding .h filename is obtained
by removing the extension of the initial .c.

This was breaking compilation on Ubuntu 12.04

libmesa_dricore_intermediates/libmesa_dricore.a(program_parse.tab.o): In
function `_mesa_parse_arb_program':
external/mesa/src/mesa/program/program_parse.y:2682: multiple definition
of `_mesa_parse_arb_program'
libmesa_dricore_intermediates/libmesa_dricore.a(lex.yy.o):external/mesa/src/mesa/program/program_parse.y:2682:
first defined here

Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-and-tested-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/program/Android.mk