driconf: Fix gen_xmlpool.py script to allow running from any directory
authorChad Versace <chad.versace@linux.intel.com>
Thu, 6 Dec 2012 04:47:52 +0000 (20:47 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 11 Jan 2013 21:54:54 +0000 (13:54 -0800)
commitec04617fb36206863abfd3171876a52cbf4d9807
treecab306b45b7a7aade342248211f04d55e496eae3
parent11c3013610433758b6bcf5e29e0ddb0a5c1ecdd5
driconf: Fix gen_xmlpool.py script to allow running from any directory

The gen_xmlpool.py script would work correctly only when executed from the
directory that contained the script. This shortcoming was due to some
hard-coded paths in the script.

In order to easily invoke the script from the Android build system, we
must be able to execute the script from an arbitrary directory. To enable
that, this patch replaces the two hard-coded paths with new command line
arguments.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
src/mesa/drivers/dri/common/xmlpool/Makefile
src/mesa/drivers/dri/common/xmlpool/gen_xmlpool.py