summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-11-14 16:42:32 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:54:41 +0900
commita23a2bab389eb62a51f4461b6aef409e13db53f8 (patch)
tree639040a2201d8cb5804bcb1869a86d25c5f90dc1
parent485d2b48f1103402217f3d2b75bad5aaaefe146a (diff)
packaging: odroid: Do Not Use profile macro
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>
-rw-r--r--packaging/odroid-linux-kernel.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/packaging/odroid-linux-kernel.spec b/packaging/odroid-linux-kernel.spec
index 5fd5b6705ff4..db99b0b26491 100644
--- a/packaging/odroid-linux-kernel.spec
+++ b/packaging/odroid-linux-kernel.spec
@@ -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}