From 138bf1c8e4987847509f496b0c63fa4d8c1d0cc3 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 14 Nov 2016 16:56:02 +0900 Subject: [PATCH] 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: I13a3a94a49cb75dc18cedaa95e2e82f34bcedb3e Signed-off-by: MyungJoo Ham --- packaging/README.update_kernel-profile | 3 +++ packaging/linux-stable.spec | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packaging/README.update_kernel-profile b/packaging/README.update_kernel-profile index 9592ea3..4725e84 100644 --- a/packaging/README.update_kernel-profile +++ b/packaging/README.update_kernel-profile @@ -9,6 +9,9 @@ or # profile=ivi .. +CAUTION: From Tizen 4.0, we are going to abandon profile macro in build proejct +so that we can build package for every profile in a single build project and +put packages for every profile at a single RPM repo. 1. Clone kernel-$profile ------------------------ diff --git a/packaging/linux-stable.spec b/packaging/linux-stable.spec index 265a383..e74829d 100644 --- a/packaging/linux-stable.spec +++ b/packaging/linux-stable.spec @@ -10,7 +10,7 @@ %define platform default %endif -%define variant %{profile}-%{_arch}-%{platform} +%define variant common-%{_arch}-%{platform} %define kernel_version %{version}-%{release} %define kernel_full_version %{version}-%{release}-%{variant} %define arch_32bits i386 i586 i686 %{ix86} @@ -95,7 +95,7 @@ This package contains the Linux kernel for Tizen. %package -n kernel-%{variant} Summary: Tizen kernel Group: System/Kernel -Provides: kernel-profile-%{profile} = %{version}-%{release} +Provides: kernel-profile-common = %{version}-%{release} Provides: kernel-uname-r = %{kernel_full_version} Requires(post): /usr/bin/ln Requires(post): /usr/bin/sort @@ -130,7 +130,7 @@ AutoReq: no AutoProv: yes %description -n kernel-%{variant} -This package contains the Linux kernel for Tizen (%{profile} profile, architecure %{_arch}) +This package contains the Linux kernel for Tizen (common profile, architecure %{_arch}) %package -n kernel-%{variant}-devel Summary: Development package for building kernel modules -- 2.7.4