OSDN Git Service

android: generate files by $(call es-gen)
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 11 May 2015 13:24:56 +0000 (21:24 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 16 Jul 2015 13:48:42 +0000 (21:48 +0800)
commit092bc21934133a59ccb01abec592ab4c6f025c40
tree04fdd04e5798566d40b893701572c81fa6944027
parent9b094a1ab6de9bd9d8001ddf7964c4a104af7cce
android: generate files by $(call es-gen)

Use the pre-defined macro es-gen to generate new added files
instead of writing new rules manually. The handmade rules
that may generate the files before the directory is created
result in such an error:

/bin/bash: out/target/product/x86/gen/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/main/format_pack.c: No such file or directory
make: *** [out/target/product/x86/gen/STATIC_LIBRARIES/libmesa_st_mesa_intermediates/main/format_pack.c] Error 1

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
src/mesa/Android.gen.mk