android: avoid using libdrm with host modules
authorChih-Wei Huang <cwhuang@android-x86.org>
Fri, 28 Oct 2016 09:54:17 +0000 (17:54 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 2 Nov 2016 14:43:26 +0000 (14:43 +0000)
commite3e5b1a4884666ec806d4eb0188826578580d666
tree910d2e5f5b07a207000c13e5dcc1b6fdc3bb5b46
parent1ef505bb02b00a577c33e1af27d983abd14465e7
android: avoid using libdrm with host modules

Note LOCAL_CFLAGS and LOCAL_SHARED_LIBRARIES in Android.common.mk
are used by both host and target modules. However, commit 112e988
moved libdrm related flags to common. It causes the errors like:

error: 'out/host/linux-x86/obj32/SHARED_LIBRARIES/libdrm_intermediates/export_includes',
needed by 'out/host/linux-x86/obj32/EXECUTABLES/mesa_gen_matypes_intermediates/import_includes',
missing and no known rule to make it

No reason to use libdrm with host modules.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Fixes: 112e988329b ("Android: move libdrm settings to top-level
Android.common.mk")
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Android.common.mk