diff options
author | Gwanglim Lee <gl77.lee@samsung.com> | 2014-08-05 15:20:11 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2014-08-05 15:29:56 +0200 |
commit | c4a1d268320d38f845f2ad2f967d3d432cade71c (patch) | |
tree | 44b84fbbdcf973f3a8e5a9ef3d2beefad3fc07b0 /m4 | |
parent | 1984961ba6657153dcceffd766cf55a235048647 (diff) | |
download | efl-c4a1d268320d38f845f2ad2f967d3d432cade71c.tar.gz |
build/drm: Fix broken build from scratch and add missing library dependency for evas_drm engine
Summary:
This patch fixes following two problems:
1. libevas.so library has a dependency with ecore_drm if '--enable-drm' configure
option is given. This problem is due to 'EFL_INTERNAL_DEPEND_PKG([EVAS], [ecore-drm])'
in m4/evas_check_engine.m4 file. A dependency with ecore_drm should be moved to evas
drm engine not libevas.so. And also this macro makes an error while installation of evas.
$ make uninstall; ./configure --enable-drm; make && make install
2. missing ecore_drm dependency for evas drm engine.
USE_ECORE_DRM_LIBS macro should be used for building evas drm engine with ecore_drm
library. ECORE_DRM_LIBS macro doesn't have 'libecore_drm.la'. It is used for building
ecore_drm library.
@fix
Fixes T1473
Test Plan:
1. Remove EFL libraries in installation path: $ make uninstall
2. Configure with --enable-drm: $ ./autogen.sh --enable-drm
3. $ make && make install
4. Check module.so of evas drm engine whether it has a library dependency with ecore_drm
$ readelf -a $EFL_GIT/src/modules/evas/engines/drm/.libs/module.so | grep NEEDED
$ readelf -a $INSTALL_PATH/lib/evas/modules/engines/drm/v-1.11/module.so | grep NEEDED
Reviewers: stefan_schmidt, devilhorns, raster
Subscribers: cedric, torori
Differential Revision: https://phab.enlightenment.org/D1271
Diffstat (limited to 'm4')
-rw-r--r-- | m4/evas_check_engine.m4 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4 index 1db2f47f1e..dd7030e5cf 100644 --- a/m4/evas_check_engine.m4 +++ b/m4/evas_check_engine.m4 @@ -604,8 +604,6 @@ else fi if test "x${have_dep}" = "xyes" ; then - EFL_INTERNAL_DEPEND_PKG([EVAS], [ecore-drm]) - AC_MSG_CHECKING([whether to enable Drm hardware acceleration]) if test "x${want_drm_hw_accel}" = "xyes" ; then PKG_CHECK_EXISTS([egl >= 7.10 ${gl_library}], |