diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2021-01-08 15:12:56 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-01-11 16:56:10 +0900 |
commit | a35e761c7034486acd7fb173e1c406496cf0c06e (patch) | |
tree | a664f6017ad5c0104aa7f3b013cfa3fc98483b1b | |
parent | ec038b712a3122fa9f5ecd82090993e6e04b7392 (diff) | |
download | building-blocks-a35e761c7034486acd7fb173e1c406496cf0c06e.tar.gz building-blocks-a35e761c7034486acd7fb173e1c406496cf0c06e.tar.bz2 building-blocks-a35e761c7034486acd7fb173e1c406496cf0c06e.zip |
[TRE-2590] Add hal-api-common package to all profilessubmit/tizen/20210111.093613accepted/tizen/unified/20210112.040720
Add hal-api-common package to all profiles
- TRE-2590 for hal-api-common pakcage for common HAL API
Change-Id: Ib2c84fc31f3ad4da96d08cf7eb3a0277b5357736
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r-- | packaging/building-blocks.spec | 6 | ||||
-rw-r--r-- | packaging/domain-halapis-common.inc | 18 | ||||
-rw-r--r-- | packaging/domain-halapis.inc | 14 | ||||
-rw-r--r-- | packaging/platform-preset-iot.inc | 2 |
4 files changed, 40 insertions, 0 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 642f2fb..6bea2d2 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -73,6 +73,9 @@ Source1416: domain-csapis-web.inc Source1417: domain-csapis-machinelearning.inc %endif +Source1500: domain-halapis.inc +Source1501: domain-halapis-common.inc + Source2010: epicfeature-development.inc Source2020: epicfeature-application.inc @@ -123,6 +126,7 @@ Suggests: %{name}-root-domain_Feature Suggests: %{name}-root-domain_CSAPI %endif #Suggests: %{name}-root-domain_WebAPI +Suggests: %{name}-root-domain_HALAPI %description category-domains This meta package lists all Tizen blocks (meta packages) designating technical domains. @@ -390,6 +394,8 @@ python ./rule_checker.py %{include_if_mainbuild %{SOURCE1417}} %endif +%{include_if_mainbuild %{SOURCE1500}} +%{include_if_mainbuild %{SOURCE1501}} ############## EPIC FEATURES ###################### # Dev tools diff --git a/packaging/domain-halapis-common.inc b/packaging/domain-halapis-common.inc new file mode 100644 index 0000000..5ab2569 --- /dev/null +++ b/packaging/domain-halapis-common.inc @@ -0,0 +1,18 @@ +# Maintainer: TBD: This is temporary block for TDC Demo. You may proceed with this later anyway. +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + +#################### +## Common HAL API ## +#################### +%package sub1-domain_HALAPI-Common +Summary: Common HAL API +Requires: hal-api-common + +%description sub1-domain_HALAPI-Common +Common HAL API supports the helper functions for all HAL API packages. +All HAL API packages must need the same operation to handle the shared library +of HAL backend. So that common HAL API provides the helper functions in order +to remove the duplicate code and reduce the code fragmentation. By using the +consistent coding style on HAL API packages, it improves the readability +and makes it easy understanding. +%files sub1-domain_HALAPI-Common diff --git a/packaging/domain-halapis.inc b/packaging/domain-halapis.inc new file mode 100644 index 0000000..245d618 --- /dev/null +++ b/packaging/domain-halapis.inc @@ -0,0 +1,14 @@ +# Maintainer: TBD: This is temporary block for TDC Demo. You may proceed with this later anyway. +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + +%package root-domain_HALAPI +Summary: Tizen HAL API Sets +Requires: %{name}-sub1-domain_HALAPI-Common + +%description root-domain_HALAPI +__EXPAND__: domains +Tizen provides HAL API layer for Tizen porting to various devices. +HAL API packages provide their own HAL API interface such as tbm, audio, location, +bluetooth, sensor and so on. In order to use Tizen on new h/w device, please implment +the HAL backend packages according to HAL API interface provided by HAL API packages. +%files root-domain_HALAPI diff --git a/packaging/platform-preset-iot.inc b/packaging/platform-preset-iot.inc index aa251f4..d596b07 100644 --- a/packaging/platform-preset-iot.inc +++ b/packaging/platform-preset-iot.inc @@ -65,6 +65,8 @@ Requires: dbus-tools Requires: amd-mod-boost Requires: libopenssl Requires: building-blocks-mapping-files +#From TRE-2590 +Requires: %{name}-root-domain_HALAPI %description root-Preset_iot_core The packages of Tizen IoT Core. |