android: i965: generate code for OA counter queries
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 12 Mar 2017 23:01:21 +0000 (00:01 +0100)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 23 Mar 2017 06:20:18 +0000 (08:20 +0200)
commit0ff8ac1b55dcc489e73ba6cfaa1ab872b4b9eb0b
tree7b37f68f26244fac837332cd7cb7a72c73ce8478
parentdc9ebc6ef17a09a658525f93a03532904656851e
android: i965: generate code for OA counter queries

Automake generation rules are replicated for android.
$* macro was expected to return "hsw" but instead gives "hsw.{h,c}"
so $(basename $*) is used as a workaround
to set the correct --chipset option for brw_oa.py script.

Build tested with nougat-x86

Fixes: e565505 "i965: Add script to gen code for OA counter queries"
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Robert Bragg <robert@sixbynine.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/Android.mk