diff options
author | SangYoun Kwak <sy.kwak@samsung.com> | 2024-04-09 19:48:02 +0900 |
---|---|---|
committer | SangYoun Kwak <sy.kwak@samsung.com> | 2024-04-09 20:13:12 +0900 |
commit | de942b515ec23b659cd0d3bee85d5f82dbb7a269 (patch) | |
tree | 7e474beddc8d58424617cd394e65179e008a4bf7 | |
parent | 413861c1eb29258a5b667ac9b88e3331226c4861 (diff) | |
download | rootstrap-de942b515ec23b659cd0d3bee85d5f82dbb7a269.tar.gz rootstrap-de942b515ec23b659cd0d3bee85d5f82dbb7a269.tar.bz2 rootstrap-de942b515ec23b659cd0d3bee85d5f82dbb7a269.zip |
Add BuildRequires and .xml files for hal-api
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
-rwxr-xr-x | copy_required_files.sh | 2 | ||||
-rw-r--r-- | packaging/hal-rootstrap.spec | 18 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-audio.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-bluetooth.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-camera.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-common.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-device.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-location.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-nfc.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-power.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-radio.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-sensor.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-tbm.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-tdm.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-uwb.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-wifi.xml | 14 | ||||
-rw-r--r-- | rs_resource/HAL/hal-api-zigbee.xml | 14 |
17 files changed, 226 insertions, 4 deletions
diff --git a/copy_required_files.sh b/copy_required_files.sh index dab3b3d..37bb76a 100755 --- a/copy_required_files.sh +++ b/copy_required_files.sh @@ -4,7 +4,7 @@ COPY_DEST=$1 POSTLINKER="${PWD}/script/postlinker" pushd rs_resource > /dev/null 2>&1 -XML_DIRECTORIES=( "NativeAPI" "OSS" ) +XML_DIRECTORIES=( "NativeAPI" "OSS" "HAL" ) INDEX=0 while [[ ${INDEX} -lt ${#XML_DIRECTORIES[@]} ]]; do diff --git a/packaging/hal-rootstrap.spec b/packaging/hal-rootstrap.spec index 795aebe..a1b84fe 100644 --- a/packaging/hal-rootstrap.spec +++ b/packaging/hal-rootstrap.spec @@ -386,9 +386,21 @@ BuildRequires: sqlite-devel BuildRequires: zlib BuildRequires: zlib-devel -BuildRequires: pkgconfig(hal-api-common) -BuildRequires: pkgconfig(hal-api-sensor) -BuildRequires: pkgconfig(capi-system-peripheral-io) +BuildRequires: pkgconfig(hal-api-audio) +BuildRequires: pkgconfig(hal-api-bluetooth) +BuildRequires: pkgconfig(hal-api-camera) +BuildRequires: pkgconfig(hal-api-common) +BuildRequires: pkgconfig(hal-api-device) +BuildRequires: pkgconfig(hal-api-location) +BuildRequires: pkgconfig(hal-api-nfc) +BuildRequires: pkgconfig(hal-api-power) +BuildRequires: pkgconfig(hal-api-radio) +BuildRequires: pkgconfig(hal-api-sensor) +BuildRequires: pkgconfig(hal-api-tbm) +BuildRequires: pkgconfig(hal-api-tdm) +BuildRequires: pkgconfig(hal-api-uwb) +BuildRequires: pkgconfig(hal-api-wifi) +BuildRequires: pkgconfig(hal-api-zigbee) %description Package for rootstrap of hal diff --git a/rs_resource/HAL/hal-api-audio.xml b/rs_resource/HAL/hal-api-audio.xml new file mode 100644 index 0000000..9f10d9f --- /dev/null +++ b/rs_resource/HAL/hal-api-audio.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-audio"> + <email></email> + <target> + <rpm accept="hal-api-audio" arch="armv7l"/> + <rpm accept="hal-api-audio-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-audio.so*</file> + <file>/usr/include/hal/hal-audio-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-bluetooth.xml b/rs_resource/HAL/hal-api-bluetooth.xml new file mode 100644 index 0000000..d3a63e3 --- /dev/null +++ b/rs_resource/HAL/hal-api-bluetooth.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-bluetooth"> + <email></email> + <target> + <rpm accept="hal-api-bluetooth" arch="armv7l"/> + <rpm accept="hal-api-bluetooth-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-bluetooth.so*</file> + <file>/usr/include/hal/hal-bluetooth-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-camera.xml b/rs_resource/HAL/hal-api-camera.xml new file mode 100644 index 0000000..2b5eaaa --- /dev/null +++ b/rs_resource/HAL/hal-api-camera.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-camera"> + <email></email> + <target> + <rpm accept="hal-api-camera" arch="armv7l"/> + <rpm accept="hal-api-camera-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-camera.so*</file> + <file>/usr/include/hal/hal-camera-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-common.xml b/rs_resource/HAL/hal-api-common.xml new file mode 100644 index 0000000..7ff4b59 --- /dev/null +++ b/rs_resource/HAL/hal-api-common.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-common"> + <email></email> + <target> + <rpm accept="hal-api-common" arch="armv7l"/> + <rpm accept="hal-api-common-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-common.so*</file> + <file>/usr/include/hal/hal-common-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-device.xml b/rs_resource/HAL/hal-api-device.xml new file mode 100644 index 0000000..45ce627 --- /dev/null +++ b/rs_resource/HAL/hal-api-device.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-device"> + <email></email> + <target> + <rpm accept="hal-api-device" arch="armv7l"/> + <rpm accept="hal-api-device-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-device.so*</file> + <file>/usr/include/hal/hal-device-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-location.xml b/rs_resource/HAL/hal-api-location.xml new file mode 100644 index 0000000..4b8d764 --- /dev/null +++ b/rs_resource/HAL/hal-api-location.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-location"> + <email></email> + <target> + <rpm accept="hal-api-location" arch="armv7l"/> + <rpm accept="hal-api-location-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-location.so*</file> + <file>/usr/include/hal/hal-location-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-nfc.xml b/rs_resource/HAL/hal-api-nfc.xml new file mode 100644 index 0000000..4076014 --- /dev/null +++ b/rs_resource/HAL/hal-api-nfc.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-nfc"> + <email></email> + <target> + <rpm accept="hal-api-nfc" arch="armv7l"/> + <rpm accept="hal-api-nfc-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-nfc.so*</file> + <file>/usr/include/hal/hal-nfc-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-power.xml b/rs_resource/HAL/hal-api-power.xml new file mode 100644 index 0000000..6f52431 --- /dev/null +++ b/rs_resource/HAL/hal-api-power.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-power"> + <email></email> + <target> + <rpm accept="hal-api-power" arch="armv7l"/> + <rpm accept="hal-api-power-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-power.so*</file> + <file>/usr/include/hal/hal-power-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-radio.xml b/rs_resource/HAL/hal-api-radio.xml new file mode 100644 index 0000000..4ab59e3 --- /dev/null +++ b/rs_resource/HAL/hal-api-radio.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-radio"> + <email></email> + <target> + <rpm accept="hal-api-radio" arch="armv7l"/> + <rpm accept="hal-api-radio-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-radio.so*</file> + <file>/usr/include/hal/hal-radio-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-sensor.xml b/rs_resource/HAL/hal-api-sensor.xml new file mode 100644 index 0000000..fbc3a0d --- /dev/null +++ b/rs_resource/HAL/hal-api-sensor.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-sensor"> + <email></email> + <target> + <rpm accept="hal-api-sensor" arch="armv7l"/> + <rpm accept="hal-api-sensor-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-sensor.so*</file> + <file>/usr/include/hal/hal-sensor-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-tbm.xml b/rs_resource/HAL/hal-api-tbm.xml new file mode 100644 index 0000000..4be2def --- /dev/null +++ b/rs_resource/HAL/hal-api-tbm.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-tbm"> + <email></email> + <target> + <rpm accept="hal-api-tbm" arch="armv7l"/> + <rpm accept="hal-api-tbm-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-tbm.so*</file> + <file>/usr/include/hal/hal-tbm-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-tdm.xml b/rs_resource/HAL/hal-api-tdm.xml new file mode 100644 index 0000000..dceb2e7 --- /dev/null +++ b/rs_resource/HAL/hal-api-tdm.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-tdm"> + <email></email> + <target> + <rpm accept="hal-api-tdm" arch="armv7l"/> + <rpm accept="hal-api-tdm-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-tdm.so*</file> + <file>/usr/include/hal/hal-tdm-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-uwb.xml b/rs_resource/HAL/hal-api-uwb.xml new file mode 100644 index 0000000..49d02d4 --- /dev/null +++ b/rs_resource/HAL/hal-api-uwb.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-uwb"> + <email></email> + <target> + <rpm accept="hal-api-uwb" arch="armv7l"/> + <rpm accept="hal-api-uwb-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-uwb.so*</file> + <file>/usr/include/hal/hal-uwb-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-wifi.xml b/rs_resource/HAL/hal-api-wifi.xml new file mode 100644 index 0000000..d32a1b7 --- /dev/null +++ b/rs_resource/HAL/hal-api-wifi.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-wifi"> + <email></email> + <target> + <rpm accept="hal-api-wifi" arch="armv7l"/> + <rpm accept="hal-api-wifi-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-wifi.so*</file> + <file>/usr/include/hal/hal-wifi-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> diff --git a/rs_resource/HAL/hal-api-zigbee.xml b/rs_resource/HAL/hal-api-zigbee.xml new file mode 100644 index 0000000..d2a0788 --- /dev/null +++ b/rs_resource/HAL/hal-api-zigbee.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<rootstrap name="hal-api-zigbee"> + <email></email> + <target> + <rpm accept="hal-api-zigbee" arch="armv7l"/> + <rpm accept="hal-api-zigbee-devel" arch="armv7l"/> + </target> + <necessary> + <file>/usr/lib/hal/libhal-api-zigbee.so*</file> + <file>/usr/include/hal/hal-zigbee-interface.h</file> + </necessary> + <include_path>/usr/include/</include_path> + <library_path>/usr/lib</library_path> +</rootstrap> |