Remove Repository Dependency 59/109659/4 accepted/tizen/common/20170306.165054 accepted/tizen/ivi/20170306.103535 accepted/tizen/mobile/20170306.103446 accepted/tizen/tv/20170306.103453 accepted/tizen/unified/20170309.031153 accepted/tizen/wearable/20170306.103513 submit/tizen/20170306.052915 submit/tizen_unified/20170308.100403
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Jan 2017 05:53:07 +0000 (14:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 6 Mar 2017 04:49:42 +0000 (13:49 +0900)
- 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 <myungjoo.ham@samsung.com>
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
configure.ac
packaging/libtbm-exynos.spec

index d064c86..13b73f9 100644 (file)
@@ -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
index 401edaa..4c4fea4 100644 (file)
@@ -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