packaging: odroid: Do Not Use profile macro
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 14 Nov 2016 07:42:32 +0000 (16:42 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:54:41 +0000 (13:54 +0900)
It is to be obsolete in 4.0.

It is allowed to use "profile" macro ONLY for backward compatibility while
keeping the compatibility with unified build environment.
- Both are false in this usage.

Change-Id: Icd3d5f77304ca5f30d66c8dc8180360ad06cd0e9
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/odroid-linux-kernel.spec

index 5fd5b6705ff4c323d222fd6d8078290bd925c8a3..db99b0b264913abbd06180000489226d2046d5f6 100644 (file)
@@ -21,7 +21,7 @@ BuildRequires: module-init-tools
 BuildRequires: u-boot-tools
 BuildRequires: bc
 
-%if "%{?tizen_target_name}" == "TM1" || "%{?profile}" == "wearable"
+%if "%{?tizen_target_name}" == "TM1"
 ExcludeArch: %{arm}
 %endif
 
@@ -31,11 +31,14 @@ The Linux Kernel, the operating system core itself
 %package -n %{variant}-linux-kernel
 Summary: Tizen kernel for %{target_board}
 Group: System/Kernel
-Provides: %{variant}-odroid-kernel-profile-%{profile} = %{version}-%{release}
+Provides: %{variant}-odroid-kernel-profile_common = %{version}-%{release}
+Provides: %{variant}-odroid-kernel-profile_mobile = %{version}-%{release}
+Provides: %{variant}-odroid-kernel-profile_tv = %{version}-%{release}
+Provides: %{variant}-odroid-kernel-profile_ivi = %{version}-%{release}
 Provides: %{variant}-kernel-uname-r = %{fullVersion}
 
 %description -n %{variant}-linux-kernel
-This package contains the Linux kernel for Tizen (%{profile} profile, arch %{buildarch}, target board %{target_board})
+This package contains the Linux kernel for Tizen (common/mobile/tv/ivi profile, arch %{buildarch}, target board %{target_board})
 
 %package -n %{variant}-linux-kernel-modules
 Summary: Kernel modules for %{target_board}