From 77fc7e8216fad2378a6bb2934a613e47b9b7c717 Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Mon, 13 Jan 2025 16:01:36 +0900 Subject: [PATCH] [HALACR-20] rs_resource: Add new packages for hal-api-ml - Role of HAL_MODULE_ML: Tizen ML API may require a hardware device to accelerate its job. This HAL ML provides an interface for Tizen ML API (NNStreamer's tensor_filter subplugin) to use such hardware acceleration devices (NPU, ...) if available. - Newly added rootstrap information: ```xml /usr/lib/hal/libhal-api-ml.so* /usr/include/hal/hal-ml-interface*.h /usr/include/hal/hal-ml-types.h /usr/include/ /usr/lib ``` Change-Id: Ic3539c862e13d38e3bd0c198143cd0fabc3f02c5 Signed-off-by: Yongjoo Ahn --- packaging/hal-rootstrap-data-common.spec | 2 ++ rs_resource/HAL/hal-api-ml-rs.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 rs_resource/HAL/hal-api-ml-rs.xml diff --git a/packaging/hal-rootstrap-data-common.spec b/packaging/hal-rootstrap-data-common.spec index 2f51a2f..8209e9f 100644 --- a/packaging/hal-rootstrap-data-common.spec +++ b/packaging/hal-rootstrap-data-common.spec @@ -193,6 +193,8 @@ Requires: pkgconfig(hal-api-codec) BuildRequires: pkgconfig(hal-api-codec) Requires: pkgconfig(hal-api-security) BuildRequires: pkgconfig(hal-api-security) +Requires: pkgconfig(hal-api-ml) +BuildRequires: pkgconfig(hal-api-ml) %endif %if "%{WITH_DA}" == "0" diff --git a/rs_resource/HAL/hal-api-ml-rs.xml b/rs_resource/HAL/hal-api-ml-rs.xml new file mode 100644 index 0000000..3e202c0 --- /dev/null +++ b/rs_resource/HAL/hal-api-ml-rs.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + /usr/lib/hal/libhal-api-ml.so* + /usr/include/hal/hal-ml-interface*.h + /usr/include/hal/hal-ml-types.h + + /usr/include/ + /usr/lib + -- 2.34.1