From cd36240ef9f110c0a7f9cc388636c030b4771ad1 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Tue, 1 Aug 2017 10:04:38 +0900 Subject: [PATCH] Revert "[Tizen] Added 'make clean' on each profile build." This reverts commit c9c17a4e0a911a58737c512d8f10beed1b8fa106. Change-Id: Id1cd84940b4343d530bc9d67720848ad12b3495e --- packaging/dali-adaptor.spec | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 27ce5ad..0d21aef 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -325,14 +325,13 @@ TIZEN_PLATFORM_CONFIG_SUPPORTED="%{tizen_platform_config_supported}" ; export TI %endif # Default to GLES 2.0 if not specified. -%define target_gles_version 20 +%{!?target_gles_version: %define target_gles_version 20} # Set up the build via configure. ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if mobile || "undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" - %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=MOBILE \ --enable-tizen-major-version=%{tizen_version_major} \ @@ -365,15 +364,12 @@ pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done popd -make clean - %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if tv ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" - %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=TV \ --enable-tizen-major-version=%{tizen_version_major} \ @@ -406,14 +402,12 @@ pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done popd -make clean %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if wearable || "undefined" %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" - %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=WEARABLE \ --enable-tizen-major-version=%{tizen_version_major} \ @@ -446,14 +440,12 @@ pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done popd -make clean %endif ####################################################################### # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if ivi ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile" - %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=IVI \ --enable-tizen-major-version=%{tizen_version_major} \ @@ -486,7 +478,6 @@ pushd %{buildroot}%{_libdir} for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done popd -make clean %endif ####################################################################### @@ -494,7 +485,6 @@ make clean # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if common ||"undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile" - %configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \ --enable-shaderbincache=DISABLE --enable-profile=COMMON \ --enable-tizen-major-version=%{tizen_version_major} \ @@ -518,7 +508,6 @@ make clean # Build. make %{?jobs:-j%jobs} - %endif -- 2.7.4