[Mesa-dev] [PATCH 3/3] WIP: loader: android: allow using of xmlconfig
Emil Velikov
emil.l.velikov at gmail.com
Fri Aug 4 18:18:10 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Brings the Android binaries on par with Autoconf, allowing users to
select their GPU via device_id.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Completely untested. Posting if anyone is interested if polishing it up.
---
src/loader/Android.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/loader/Android.mk b/src/loader/Android.mk
index ca9218846c9..4a45bf61865 100644
--- a/src/loader/Android.mk
+++ b/src/loader/Android.mk
@@ -33,6 +33,9 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
$(LOADER_C_FILES)
+# XXX: might need an include for the generated xmlconfig files
+LOCAL_CPPFLAGS := -DUSE_DRICONF
+
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_MODULE := libmesa_loader
--
2.13.3
More information about the mesa-dev
mailing list