summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-10-21 14:30:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-26 15:59:17 +0100
commit05efe6b2de3d69e2eecc95ffc03ec131f6318797 (patch)
tree219b3dce6b5c72c6a065238745d8b8712e438c65
parentecf98b4288870be7ab62c3b040896b7877b50b35 (diff)
downloadpoky-05efe6b2de3d69e2eecc95ffc03ec131f6318797.tar.gz
mesa: fix dependency
libudev is asked by enable-gbm, not enable_dri, and enable-gbm always is yes; We can find the dependency from configure.ac codes: if test "x$enable_gbm" = xyes; then SRC_DIRS="$SRC_DIRS gbm" PKG_CHECK_MODULES([LIBUDEV], [libudev], [], AC_MSG_ERROR([gbm needs udev])) if test "x$enable_dri" = xyes; then GBM_BACKEND_DIRS="$GBM_BACKEND_DIRS dri" if test "x$enable_shared_glapi" = xno; then AC_MSG_ERROR([gbm_dri requires --enable-shared-glapi]) fi fi fi (From OE-Core rev: 981f7e5b088ecd813e43291d72f8995f17dbea8e) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 3e8041b463..2b66582c19 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://docs/license.html;md5=42d77d95cba529a3637129be87d6555
15INC_PR = "r9" 15INC_PR = "r9"
16PE = "2" 16PE = "2"
17 17
18DEPENDS = "expat makedepend-native flex-native bison-native" 18DEPENDS = "expat makedepend-native flex-native bison-native udev"
19 19
20PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa" 20PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa"
21 21
@@ -38,7 +38,7 @@ PACKAGECONFIG[wayland] = ",,wayland"
38DRIDRIVERS = "swrast" 38DRIDRIVERS = "swrast"
39DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" 39DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
40DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" 40DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915"
41PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm udev" 41PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm"
42 42
43EXTRA_OECONF += "--enable-gbm" 43EXTRA_OECONF += "--enable-gbm"
44 44