diff options
| author | Rob Clark <robclark@freedesktop.org> | 2015-01-13 10:53:42 -0500 |
|---|---|---|
| committer | Rob Clark <robclark@freedesktop.org> | 2015-01-18 13:18:33 -0500 |
| commit | 28662b77ee0631af8ac659f1c9cba82f94182e0c (patch) | |
| tree | b432e2262bee4aed149190f0255f06bbb6e6ec4a /freedreno/Makefile.am | |
| parent | 13fcc697ee194060f949449bf37491d8abd7119b (diff) | |
configure/freedreno: make KGSL support optional
libdrm_freedreno currently supports two backends, 'msm' for the upstream
drm/msm driver, and 'kgsl' which supports (to some extent), the android/
downstream kgsl driver plus a sort of drm shim nonsense to get flink
names.
However, kgsl support is strictly on a best-effort basis. Different
android devices with different versions of kgsl may have different
abi's. And the existing kgsl interface (at least the parts of it that
we use) is completely broken for 64bit. Lets disable it by default lest
anyone actually try to use it.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'freedreno/Makefile.am')
| -rw-r--r-- | freedreno/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/freedreno/Makefile.am b/freedreno/Makefile.am index 4818431a..4482afe2 100644 --- a/freedreno/Makefile.am +++ b/freedreno/Makefile.am @@ -15,6 +15,9 @@ libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined libdrm_freedreno_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES) +if HAVE_FREEDRENO_KGSL +libdrm_freedreno_la_SOURCES += $(LIBDRM_FREEDRENO_KGSL_FILES) +endif libdrm_freedrenocommonincludedir = ${includedir}/freedreno libdrm_freedrenocommoninclude_HEADERS = $(LIBDRM_FREEDRENO_H_FILES) |
