From: MyungJoo Ham Date: Wed, 11 Jan 2017 05:53:07 +0000 (+0900) Subject: Remove Repository Dependency X-Git-Tag: accepted/tizen/common/20170306.165054^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eecb3877b067632077443e03b676b9f63103b8c4;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git Remove Repository Dependency - This is for Tizen 4.0 - We are going to unify repositories as well as build projects. Change-Id: I0761b8e764af8cab5f0ace4a9a6651977db8e029 Signed-off-by: MyungJoo Ham Signed-off-by: SooChan Lim --- diff --git a/configure.ac b/configure.ac index d064c86..13b73f9 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ PKG_CHECK_MODULES(LIBUDEV, libudev) AC_ARG_ENABLE(cachectrl, AS_HELP_STRING([--enable-cachectrl], - [Enable cache control (default: enable)]), + [Enable cache control (default: disable)]), [CACHE_CTRL=$enableval], [CACHE_CTRL=yes]) if test "x$CACHE_CTRL" = xyes; then diff --git a/packaging/libtbm-exynos.spec b/packaging/libtbm-exynos.spec index 401edaa..4c4fea4 100644 --- a/packaging/libtbm-exynos.spec +++ b/packaging/libtbm-exynos.spec @@ -28,13 +28,9 @@ descriptionion: Tizen Buffer manager backend module for exynos %build %reconfigure --prefix=%{_prefix} --libdir=%{_libdir}/bufmgr \ -%if "%_repository" == "target-circle" - --enable-align-eight \ - --enable-cachectrl \ -%else - --disable-cachectrl \ -%endif - CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" + --disable-align-eight \ + --disable-cachectrl \ + CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" make %{?_smp_mflags} @@ -43,14 +39,12 @@ rm -rf %{buildroot} mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} -%if "%_repository" == "target-circle" +# make rule for tgl mkdir -p %{buildroot}%{_libdir}/udev/rules.d/ cp -af rules/99-libtbm_exynos.rules %{buildroot}%{_libdir}/udev/rules.d/ -%endif %make_install - %post if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then rm -rf %{_libdir}/bufmgr/libtbm_default.so @@ -62,6 +56,4 @@ ln -s libtbm_exynos.so %{_libdir}/bufmgr/libtbm_default.so %files %{_libdir}/bufmgr/libtbm_*.so* %{TZ_SYS_RO_SHARE}/license/%{name} -%if "%_repository" == "target-circle" %{_libdir}/udev/rules.d/99-libtbm_exynos.rules -%endif