diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2021-06-09 16:38:07 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-06-10 17:57:47 +0900 |
commit | 7225e7580e4418bfbc7a5a9c2f5c2e699bfb65c6 (patch) | |
tree | 424f7dfa873a905b499eb241d8ce2351c61afd9c /packaging | |
parent | 86aab8603a4df1998d3f0b96238083808de7afa9 (diff) | |
download | building-blocks-7225e7580e4418bfbc7a5a9c2f5c2e699bfb65c6.tar.gz building-blocks-7225e7580e4418bfbc7a5a9c2f5c2e699bfb65c6.tar.bz2 building-blocks-7225e7580e4418bfbc7a5a9c2f5c2e699bfb65c6.zip |
Add new VIM3 and C4 hal backend files
Add new VIM3 and C4 hal backend inc files to support Amlogic series
devices and each hal backend inc file contains the following packages:
The hal backens files contains power/device/bluetooth/audio/camera
/display/codec/sensor hal backend packages basically.
1. platform-preset-boards-vim3-hal-backend.inc for Khadas VIM3 board
: VIM3_HAL_Backend-System_Device is hal-backend-device-vim3
: VIM3_HAL_Backend-Bluetooth is hal-backend-bluetooth-usb
: VIM3_HAL_Backend-Camera_Common is camera-hal-v4l2
: VIM3_HAL_Backend-Power/Audio/Display/Codec/Sensor have not yet implemented.
2. platform-preset-boards-c4-hal-backend.inc for Odroid C4 board
: C4_HAL_Backend-System_Device is hal-backend-device-c4
: C4_HAL_Backend-Camera_Common is camera-hal-v4l2
: C4_HAL_Backend-Power/Audio/Display/Codec/Bluetooth have not yet implemented.
Change-Id: I0a5c0c021f11776d8082b3741eb0908209b60ade
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/building-blocks.spec | 8 | ||||
-rw-r--r-- | packaging/platform-preset-boards-c4-hal-backend.inc | 78 | ||||
-rw-r--r-- | packaging/platform-preset-boards-vim3-hal-backend.inc | 86 | ||||
-rw-r--r-- | packaging/platform-preset-boards.inc | 4 |
4 files changed, 176 insertions, 0 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 9f8970a..4e67303 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -90,6 +90,10 @@ Source3820: platform-preset-boards-common.inc Source3802: platform-preset-boards-artik530.inc Source3812: platform-preset-boards-artik530-hal-backend.inc %endif +%ifarch aarch64 +Source3813: platform-preset-boards-vim3-hal-backend.inc +Source3814: platform-preset-boards-c4-hal-backend.inc +%endif %ifarch i586 i686 x86_64 Source3803: platform-preset-boards-emul.inc %endif @@ -419,6 +423,10 @@ python ./rule_checker.py %{include_if_mainbuild %{SOURCE3802}} %{include_if_mainbuild %{SOURCE3812}} %endif +%ifarch aarch64 +%{include_if_mainbuild %{SOURCE3813}} +%{include_if_mainbuild %{SOURCE3814}} +%endif %ifarch i586 i686 x86_64 %{include_if_mainbuild %{SOURCE3803}} %endif diff --git a/packaging/platform-preset-boards-c4-hal-backend.inc b/packaging/platform-preset-boards-c4-hal-backend.inc new file mode 100644 index 0000000..a66b508 --- /dev/null +++ b/packaging/platform-preset-boards-c4-hal-backend.inc @@ -0,0 +1,78 @@ +# Maintainer: Tizen PM? +# You need ACK (+1) from the maintainer to be reviewed by building-block maintainers. + +################ +### C4 ### +################ +%package sub1-Preset_boards-C4_HAL_Backend +Summary: C4 Selection for HAL +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Power +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-System_Device +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Bluetooth +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Audio +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Camera_Common +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Display +Requires: %{name}-sub2-Preset_boards-C4_HAL_Backend-Codec + +%description sub1-Preset_boards-C4_HAL_Backend +Firstly select HAL Backends to add to your image. +%files sub1-Preset_boards-C4_HAL_Backend + +### C4-Power ### +%package sub2-Preset_boards-C4_HAL_Backend-Power +Summary: C4_Power + +%description sub2-Preset_boards-C4_HAL_Backend-Power +Packages for PASS HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-Power + +### C4-System_Device ### +%package sub2-Preset_boards-C4_HAL_Backend-System_Device +Summary: C4_Deviced Plugin for HAL +Requires: hal-backend-device-c4 + +%description sub2-Preset_boards-C4_HAL_Backend-System_Device +Packages for Deviced HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-System_Device + +### C4-Bluetooth ### +%package sub2-Preset_boards-C4_HAL_Backend-Bluetooth +Summary: C4_Bluetooth for HAL +Requires: hal-backend-bluetooth-usb + +%description sub2-Preset_boards-C4_HAL_Backend-Bluetooth +Packages of Bluetooth HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-Bluetooth + +### C4-Audio ### +%package sub2-Preset_boards-C4_HAL_Backend-Audio +Summary: C4_Audio for HAL + +%description sub2-Preset_boards-C4_HAL_Backend-Audio +Packages of Audio HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-Audio + +### C4-Camera_Common ### +%package sub2-Preset_boards-C4_HAL_Backend-Camera_Common +Summary: C4_Camera(Common) for HAL +Requires: camera-hal-v4l2 + +%description sub2-Preset_boards-C4_HAL_Backend-Camera_Common +Packages of Camera HAL and Feature for C4(Common). +%files sub2-Preset_boards-C4_HAL_Backend-Camera_Common + +### C4-Display ### +%package sub2-Preset_boards-C4_HAL_Backend-Display +Summary: C4_Display for HAL + +%description sub2-Preset_boards-C4_HAL_Backend-Display +Packages of Display HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-Display + +### C4-Codec ### +%package sub2-Preset_boards-C4_HAL_Backend-Codec +Summary: C4_Codec for HAL + +%description sub2-Preset_boards-C4_HAL_Backend-Codec +Packages of Codec HAL and Feature for C4. +%files sub2-Preset_boards-C4_HAL_Backend-Codec diff --git a/packaging/platform-preset-boards-vim3-hal-backend.inc b/packaging/platform-preset-boards-vim3-hal-backend.inc new file mode 100644 index 0000000..2613172 --- /dev/null +++ b/packaging/platform-preset-boards-vim3-hal-backend.inc @@ -0,0 +1,86 @@ +# Maintainer: Tizen PM? +# You need ACK (+1) from the maintainer to be reviewed by building-block maintainers. + +################ +### VIM3 ### +################ +%package sub1-Preset_boards-VIM3_HAL_Backend +Summary: VIM3 Selection for HAL +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Power +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-System_Device +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Bluetooth +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Audio +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Camera_Common +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Display +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Codec +Requires: %{name}-sub2-Preset_boards-VIM3_HAL_Backend-Sensor + +%description sub1-Preset_boards-VIM3_HAL_Backend +Firstly select HAL Backends to add to your image. +%files sub1-Preset_boards-VIM3_HAL_Backend + +### VIM3-Power ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Power +Summary: VIM3_Power + +%description sub2-Preset_boards-VIM3_HAL_Backend-Power +Packages for PASS HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Power + +### VIM3-System_Device ### +%package sub2-Preset_boards-VIM3_HAL_Backend-System_Device +Summary: VIM3_Deviced Plugin for HAL +Requires: hal-backend-device-vim3 + +%description sub2-Preset_boards-VIM3_HAL_Backend-System_Device +Packages for Deviced HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-System_Device + +### VIM3-Bluetooth ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Bluetooth +Summary: VIM3_Bluetooth for HAL + +%description sub2-Preset_boards-VIM3_HAL_Backend-Bluetooth +Packages of Bluetooth HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Bluetooth + +### VIM3-Audio ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Audio +Summary: VIM3_Audio for HAL + +%description sub2-Preset_boards-VIM3_HAL_Backend-Audio +Packages of Audio HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Audio + +### VIM3-Camera_Common ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Camera_Common +Summary: VIM3_Camera(Common) for HAL +Requires: camera-hal-v4l2 + +%description sub2-Preset_boards-VIM3_HAL_Backend-Camera_Common +Packages of Camera HAL and Feature for VIM3(Common). +%files sub2-Preset_boards-VIM3_HAL_Backend-Camera_Common + +### VIM3-Display ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Display +Summary: VIM3_Display for HAL + +%description sub2-Preset_boards-VIM3_HAL_Backend-Display +Packages of Display HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Display + +### VIM3-Codec ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Codec +Summary: VIM3_Codec for HAL + +%description sub2-Preset_boards-VIM3_HAL_Backend-Codec +Packages of Codec HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Codec + +### VIM3-Sensor ### +%package sub2-Preset_boards-VIM3_HAL_Backend-Sensor +Summary: VIM3_Sensor for HAL + +%description sub2-Preset_boards-VIM3_HAL_Backend-Sensor +Packages of Sensor HAL and Feature for VIM3. +%files sub2-Preset_boards-VIM3_HAL_Backend-Sensor diff --git a/packaging/platform-preset-boards.inc b/packaging/platform-preset-boards.inc index 49d3231..f884adb 100644 --- a/packaging/platform-preset-boards.inc +++ b/packaging/platform-preset-boards.inc @@ -14,6 +14,10 @@ Suggests: %{name}-sub1-Preset_boards-COMMON Suggests: %{name}-sub1-Preset_boards-RPI3 Suggests: %{name}-sub1-Preset_boards-RPI3_HAL_Backend %endif +%ifarch aarch64 +Suggests: %{name}-sub1-Preset_boards-VIM3_HAL_Backend +Suggests: %{name}-sub1-Preset_boards-C4_HAL_Backend +%endif %ifarch i586 i686 x86_64 Suggests: %{name}-sub1-Preset_boards-EMUL %endif |