From a23a2bab389eb62a51f4461b6aef409e13db53f8 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 14 Nov 2016 16:42:32 +0900 Subject: 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 --- packaging/odroid-linux-kernel.spec | 9 ++++++--- 1 file 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} -- cgit v1.2.3