summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2016-11-14 16:56:02 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-11-14 16:56:24 +0900
commit138bf1c8e4987847509f496b0c63fa4d8c1d0cc3 (patch)
tree5c646f11108a9f45524357312b782f39754a95df
parent8f10ce70b77418018fd1713c8fbaacd4d4ec2bde (diff)
downloadkernel-common-138bf1c8e4987847509f496b0c63fa4d8c1d0cc3.tar.gz
kernel-common-138bf1c8e4987847509f496b0c63fa4d8c1d0cc3.tar.bz2
kernel-common-138bf1c8e4987847509f496b0c63fa4d8c1d0cc3.zip
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 <myungjoo.ham@samsung.com>
-rw-r--r--packaging/README.update_kernel-profile3
-rw-r--r--packaging/linux-stable.spec6
2 files changed, 6 insertions, 3 deletions
diff --git a/packaging/README.update_kernel-profile b/packaging/README.update_kernel-profile
index 9592ea3dd498..4725e844e53a 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 265a38306f8f..e74829d2c525 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