Android: fix spirv_info.c generation
authorChih-Wei Huang <cwhuang@android-x86.org>
Thu, 20 Jul 2017 10:30:57 +0000 (18:30 +0800)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 21 Jul 2017 05:48:45 +0000 (08:48 +0300)
commitc1a29e104cc585ad3219b12d09f532a129d68dad
treedd24502ddd51194fc735249ac045dfa2c1ad364b
parentb78563f0d07f44143021feeb1172c320a4f98bb6
Android: fix spirv_info.c generation

It's incorrect to use $(LOCAL_PATH) in makefile recipes since it's
changing. The typical way to handle it is to use private variable.
Fortunately in this case we can just simplify them to $^.

See further:
https://patchwork.freedesktop.org/patch/167718/

Also simplify LOCAL_GENERATED_SOURCES.

Fixes: 2dd4e2ec (spirv: Generate spirv_info.c)

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/Android.nir.gen.mk