aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/Android.mk1
-rw-r--r--src/egl/Makefile.am3
-rw-r--r--src/egl/meson.build1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/egl/Android.mk b/src/egl/Android.mk
index 11128ded93c..42b391e6d86 100644
--- a/src/egl/Android.mk
+++ b/src/egl/Android.mk
@@ -40,7 +40,6 @@ LOCAL_SRC_FILES := \
LOCAL_CFLAGS := \
-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \
- -D_EGL_BUILT_IN_DRIVER_DRI2 \
-DHAVE_ANDROID_PLATFORM
LOCAL_C_INCLUDES := \
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
index 485f145cece..bf7f87015b7 100644
--- a/src/egl/Makefile.am
+++ b/src/egl/Makefile.am
@@ -120,8 +120,7 @@ AM_CFLAGS += \
-I$(top_srcdir)/src/gbm/backends/dri \
-I$(top_builddir)/src/egl/wayland/wayland-drm \
-I$(top_srcdir)/src/egl/wayland/wayland-drm \
- -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
- -D_EGL_BUILT_IN_DRIVER_DRI2
+ -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\"
nodist_libEGL_common_la_SOURCES = \
$(dri2_backend_GENERATED_FILES)
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 06922c6c3cf..e11e589b945 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -93,7 +93,6 @@ if with_dri2
)
c_args_for_egl += [
'-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path),
- '-D_EGL_BUILT_IN_DRIVER_DRI2',
]
endif