From 182d618ec405725bcfa5d1a2bace30ac60821b02 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Tue, 12 Sep 2017 15:21:44 +0900 Subject: [PATCH] Revert "[Tizen] Added 'make clean' on each profile build." This reverts commit a1b1bc4f255ea16ecf588ae209ebe2f332562f84. Change-Id: I8a0271e756d75d24251f6302cdd1553cefa44468 --- 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 dc8add7..c7029d6 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