Remove unnecessary profile dependencies from build spec 34/87634/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 9 Sep 2016 02:33:42 +0000 (02:33 +0000)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 9 Sep 2016 02:33:42 +0000 (02:33 +0000)
If TV profile does not need this, update meta-tv.git and build project
so that it does not include this package.

If it already does not include this, the code being deleted is
already a dead code that you did not need anyway.

ps. Although this macro was not for public, the private should
also try to update meta (yaml for ks) and build project to
optimize build process. This approach is seriously distorted
usage and has great potential of breaking later.

Change-Id: I12d733abfe2b6bd9eb8f106b0eff45d09ae8371f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/bluetooth-firmware-sprd.spec

index dd6b86d8b0f7d9fb99ff4506a4c1c9c35d6ab625..bf3a15c6065ec80a8232f55b1f3ced2a72d891a7 100644 (file)
@@ -10,14 +10,6 @@ Source2:    bluetooth-hci-device.service
 
 BuildRequires:  cmake
 
-%if "%{?tizen_profile_name}" == "wearable"
-ExcludeArch: %{arm} %ix86 x86_64
-%endif
-
-%if "%{?tizen_profile_name}"=="tv"
-ExcludeArch: %{arm} %ix86 x86_64
-%endif
-
 %description
 firmware and tools for bluetooth