]> code.ossystems Code Review - openembedded-core.git/commit
mesa: fix dependency
authorRoy Li <rongqing.li@windriver.com>
Mon, 21 Oct 2013 06:30:37 +0000 (14:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Oct 2013 14:53:24 +0000 (15:53 +0100)
commit981f7e5b088ecd813e43291d72f8995f17dbea8e
treebd433068931fb29f42edee9cdb7fa6b35655dc36
parent8d872e7712a62fa4313a1114a92907c29beffa2e
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

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-graphics/mesa/mesa.inc