From: Emil Velikov Date: Sat, 4 Mar 2017 21:42:18 +0000 (+0000) Subject: automake: move wayland-drm prior to Vulkan X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eaf4a106bdcf476078ef4f84c81329034a226650;p=mesa.git automake: move wayland-drm prior to Vulkan Earlier commit was picked from a larger series, but did not consider that it removed the vulkan <> wayland-drm interdependency. Rather than reverting everything, temporarily move wayland-drm further up to resolve the issue. Since it [wayland-drm] does not have any in-mesa dependencies that's perfectly safe. Cc: Vedran Miletić Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100060 Fixes: e135ce6f088 ("vulkan: Build common Vulkan code earlier") Signed-off-by: Emil Velikov Tested-by: Javier Jardón --- diff --git a/src/Makefile.am b/src/Makefile.am index cab68b72d6a..25b9253fc39 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -75,6 +75,11 @@ endif # include only conditionally ? SUBDIRS += compiler +## Optionally required by GBM, EGL and Vulkan +if HAVE_PLATFORM_WAYLAND +SUBDIRS += egl/wayland/wayland-drm +endif + if HAVE_VULKAN_COMMON SUBDIRS += vulkan endif @@ -98,11 +103,6 @@ if HAVE_DRI_GLX SUBDIRS += glx endif -## Optionally required by GBM and EGL -if HAVE_PLATFORM_WAYLAND -SUBDIRS += egl/wayland/wayland-drm -endif - ## Optionally required by EGL (aka PLATFORM_GBM) if HAVE_GBM SUBDIRS += gbm