Android: fix r300g only build
authorRob Herring <robh@kernel.org>
Mon, 24 Apr 2017 16:46:58 +0000 (11:46 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 25 Apr 2017 16:08:06 +0000 (17:08 +0100)
commit26a36c1af75f40cf225a47ee947ec6718d916a62
tree8a1e0f638236ce3e166cf7b2e507c0c80583bc14
parent347fe24f82f01511b265aaa398f9607b2dee0e45
Android: fix r300g only build

If r300g is the only radeon driver built, the Android build fails to
build:

ninja: error:
'out/target/product/linaro_x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_radeon_intermediates/export_includes',
needed by
'out/target/product/linaro_x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/import_includes',
missing and no known rule to make it

This is because the path to build libmesa_pipe_radeon was only getting
added for r600g and radeonsi, but the library dependency was added for
all radeon drivers. As libmesa_pipe_radeon is not needed for r300g, drop
the library dependency.

Cc: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/targets/dri/Android.mk