mesa/src/util
Dan Willemsen dc030d1ec9 util: Android.mk: Convert implicit rules to static pattern rules
This is a partial cherry-pick from AOSP's mesa3d tree:
 a88dcf769e%5E%21/

"We're deprecating make implicit rules, preferring static pattern
rules, or just regular rules."

Without this patch, the freedesktop/master branch won't build in
the AOSP environment, and this patch corrects that, as tested
on the Dragonboard 820c.

The i965 portion of the patch this is based on collided badly,
and I'm not sure how to best forward port it. However, so far
we don't see build issues without that portion.

Comments or feedback would be appreciated!

Change-Id: Id6dfd0d018cbd665fa19d80c14abd5f75fa10b8a
Cc: Rob Herring <rob.herring@linaro.org>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Marissa Wall <marissaw@google.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-08-02 15:42:23 -06:00
..
sha1 util: Fix SHA1 implementation on big endian 2017-11-25 12:30:46 -08:00
tests util/string_buffer: fix warning in tests 2018-07-18 08:29:51 -07:00
xmlpool python: Use open(), not file() 2018-08-01 14:26:19 +01:00
.gitignore mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Android.mk util: Android.mk: Convert implicit rules to static pattern rules 2018-08-02 15:42:23 -06:00
bitscan.c util/bitscan: use correct signature for ffs/ffsll 2017-03-13 11:16:34 +00:00
bitscan.h util/u_math: Implement a logbase2 function for unsigned long 2018-05-29 13:37:45 +02:00
bitset.h util/bitset: include util/macro.h 2018-06-15 11:26:30 +01:00
build_id.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
build_id.h util: Query build-id by symbol address, not library name 2017-09-13 09:49:27 -07:00
crc32.c util: use faster zlib's CRC32 implementaion 2018-01-14 19:10:33 +02:00
crc32.h util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
debug.c util: move brw_env_var_as_boolean() to util 2015-11-24 10:02:55 -05:00
debug.h util: rename include guard to avoid clash 2017-09-07 08:54:44 +01:00
disk_cache.c Shorten u_queue names 2018-07-04 22:03:35 -04:00
disk_cache.h util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache. 2018-07-20 12:09:19 +02:00
drirc util/drirc: turn on force_glsl_extensions_warn for No Mans Sky 2018-07-05 13:05:47 +10:00
format_r11g11b10f.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
format_rgb9e5.h util/format: Use explicitly sized types 2016-08-05 09:07:04 -07:00
format_srgb.h util/srgb: Add a float sRGB -> linear helper 2018-04-24 13:41:14 -07:00
format_srgb.py python: Use the print function 2018-07-06 10:04:22 -07:00
futex.h util/u_queue: add util_queue_fence_wait_timeout 2017-11-09 13:58:10 +01:00
half_float.c util: don't use __builtin_clz unconditionally 2018-07-31 23:28:01 -04:00
half_float.h mesa: add ASTC 2D LDR decoder 2018-07-31 18:09:57 -04:00
hash_table.c util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
hash_table.h util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
list.h util/list: Make some helpers take const lists 2018-07-29 13:39:35 -07:00
macros.h util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
Makefile.am util/set: add a basic unit test 2018-07-12 14:03:51 -07:00
Makefile.sources util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
merge_driinfo.py util: add merge_driinfo.py 2017-08-02 09:50:57 +02:00
mesa-sha1.c util/sha1: harmonize _mesa_sha1_* wrappers 2017-03-22 11:33:51 +00:00
mesa-sha1.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
mesa-sha1_test.c util: Add a SHA1 unit test program 2017-11-25 12:30:46 -08:00
meson.build util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
os_time.c util: use clock_gettime() on PIPE_OS_BSD 2018-03-01 18:44:38 +00:00
os_time.h util: move os_time.[ch] to src/util 2017-11-09 11:57:21 +01:00
ralloc.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
ralloc.h util/ralloc: add ralloc_str_append() helper 2017-08-11 10:43:31 +10:00
rand_xor.c util/rand_xor: add missing include statements 2017-06-01 14:26:12 +01:00
rand_xor.h util/rand_xor: add function to seed rand 2017-03-23 08:16:29 +11:00
rb_tree.c util: rb-tree: A simple, invasive, red-black tree 2018-07-05 11:57:45 +01:00
rb_tree.h util/rb_tree: Fix a compiler warning 2018-07-12 10:25:46 -07:00
register_allocate.c mesa: include mtypes.h less 2018-04-12 19:31:30 -04:00
register_allocate.h ra: Add a callback for selecting a register from what's available. 2017-07-25 14:44:52 -07:00
rgtc.c util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
rgtc.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
roundeven_test.c util: Add a roundeven test. 2015-03-18 21:06:26 -07:00
rounding.h util: try to use SSE instructions with MSVC and 32-bit gcc 2016-08-17 12:53:20 -06:00
SConscript util: scons: wire up the sha1 test 2017-12-15 19:01:12 +00:00
set.c util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
set.h util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
simple_list.h mesa: Port a variant of 68afbe89c7 to util/ 2015-01-28 16:33:34 -08:00
simple_mtx.h src/util/simple_mtx.h: Fix two -Wunused-param warnings. 2017-11-17 09:27:57 -07:00
slab.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
slab.h util/slab: re-design to allow migration between pools (v3) 2016-10-05 15:40:40 +02:00
string_buffer.c util: Add a string buffer implementation 2017-09-26 18:24:33 +02:00
string_buffer.h util: Add a string buffer implementation 2017-09-26 18:24:33 +02:00
strndup.h util/strndup: move header inclusion as applicable 2017-03-22 16:55:23 +00:00
strtod.c util: improve compiler guard 2017-09-03 09:05:23 +01:00
strtod.h mesa/main: free locale at exit 2015-06-29 09:06:40 -07:00
texcompress_rgtc_tmp.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
u_atomic.c util/u_atomic: remove unnecessaty __atomic functions 2017-09-22 17:12:24 +03:00
u_atomic.h util/u_atomic: add p_atomic_xchg 2017-11-09 11:37:30 +01:00
u_atomic_test.c util: fix comment typo 2015-12-04 14:06:41 +00:00
u_dynarray.h util: include string.h in u_dynarray.h 2018-01-17 11:17:56 -07:00
u_endian.h meson/configure: detect endian.h instead of trying to guess when it's available 2018-03-23 11:44:21 +00:00
u_process.c util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
u_process.h util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
u_queue.c kutil/queue: use util_snprintf() in util_queue_init 2018-08-02 10:06:44 +03:00
u_queue.h kutil/queue: add a process name into a thread name 2018-07-04 21:54:39 -04:00
u_string.h util: add util_strdup() wrapper macro 2017-10-23 15:10:24 -06:00
u_thread.h u_thread: Use pthread_setname_np on linux only. 2018-01-22 21:12:41 +00:00
u_vector.c util: Use util_is_power_of_two_nonzero in u_vector 2018-03-29 14:09:28 -07:00
u_vector.h util: Remove u_math from u_vector 2017-07-14 14:14:05 +01:00
vma.c util: Add a virtual memory allocator 2018-05-31 16:17:35 -07:00
vma.h util: Add a virtual memory allocator 2018-05-31 16:17:35 -07:00
xmlconfig.c util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
xmlconfig.h mesa: include mtypes.h less 2018-04-12 19:31:30 -04:00
xmlpool.h xmlconfig: move into src/util 2017-07-31 15:38:41 +02:00