[TRE-2858] Add generic-hal-backend file 08/269108/1 accepted/tizen/unified/20220110.054853 submit/tizen/20220110.045529
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Jan 2022 02:10:23 +0000 (11:10 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Jan 2022 02:17:18 +0000 (11:17 +0900)
Add generic-hal-backend file.
This file is an initial version.
In future, it will be filled to the proper backend packages.

Change-Id: I6f54b29e2dd40de65b3cd1e9ba8ae34aa870cc0d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/building-blocks.spec
packaging/platform-preset-boards-generic-hal-backend.inc [new file with mode: 0644]
packaging/platform-preset-boards.inc

index 4edbe8739f35836b729ef7c5b299dd398b02f592..ec962bbbd8e85e1d5fa1ab1ee27f374a92750630 100644 (file)
@@ -86,6 +86,7 @@ Source3800:   platform-preset-boards.inc
 %ifarch %{arm} aarch64
 Source3811:    platform-preset-boards-rpi3-hal-backend.inc
 Source3815:    platform-preset-boards-rpi4-hal-backend.inc
+Source3816:    platform-preset-boards-generic-hal-backend.inc
 Source3820:    platform-preset-boards-common.inc
 %endif
 %ifarch armv7l
@@ -419,6 +420,7 @@ python ./rule_checker.py
 %ifarch %{arm} aarch64
 %{include_if_mainbuild %{SOURCE3811}}
 %{include_if_mainbuild %{SOURCE3815}}
+%{include_if_mainbuild %{SOURCE3816}}
 %{include_if_mainbuild %{SOURCE3820}}
 %endif
 %ifarch armv7l
diff --git a/packaging/platform-preset-boards-generic-hal-backend.inc b/packaging/platform-preset-boards-generic-hal-backend.inc
new file mode 100644 (file)
index 0000000..d4ead9c
--- /dev/null
@@ -0,0 +1,96 @@
+# Maintainer: Tizen PM?
+# You need ACK (+1) from the maintainer to be reviewed by building-block maintainers.
+
+########################################################
+###  GENERIC                                        ###
+###  If you want to use the sepcific board          ###
+###  You have to create another hal-backend.inc file ###
+########################################################
+%package sub1-Preset_boards-GENERIC_HAL_Backend
+Summary:       Selection for GENERIC HAL
+Requires:      model-config-generic-hal
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Power
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-System_Device
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Bluetooth
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Audio
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-GPS
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Camera_Common
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Display
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-Codec
+Requires:      %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-FlashManager
+
+%description sub1-Preset_boards-GENERIC_HAL_Backend
+Firstly select HAL Backends to add to your image.
+%files sub1-Preset_boards-GENERIC_HAL_Backend
+
+### GENERIC-Power ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Power
+Summary:       GENERIC_Power
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Power
+Packages for PASS HAL and Feature for RPI.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Power
+
+### GENERIC-System_Device ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-System_Device
+Summary:       GENERIC_Deviced Plugin for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-System_Device
+Packages for Deviced HAL and Feature for RPI.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-System_Device
+
+### GENERIC-Bluetooth ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Bluetooth
+Summary:       GENERIC_Bluetooth for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Bluetooth
+Packages of Bluetooth HAL and Feature for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Bluetooth
+
+### GENERIC-Audio ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Audio
+Summary:       GENERIC_Audio for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Audio
+Packages of Audio HAL and Feature for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Audio
+
+### GENERIC-GPS ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-GPS
+Summary:       GENERIC_GPS
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-GPS
+Packages of GPS HAL and Feature for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-GPS
+
+### GENERIC-Camera_Common ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Camera_Common
+Summary:       GENERIC_Camera(Common) for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Camera_Common
+Packages of Camera HAL and Feature for GENERIC(Common).
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Camera_Common
+
+### GENERIC-Display ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Display
+Summary:       GENERIC_Display for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Display
+Packages of Display HAL and Feature for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Display
+
+### GENERIC-Codec ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-Codec
+Summary:       GENERIC_Codec for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-Codec
+Packages of Codec HAL and Feature for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-Codec
+
+### GENERIC-FlashManager ###
+%package sub2-Preset_boards-GENERIC_HAL_Backend-FlashManager
+Summary:       GENERIC_FlashManager for HAL
+
+%description sub2-Preset_boards-GENERIC_HAL_Backend-FlashManager
+Packages of Partition Data of FlashManager for GENERIC.
+%files sub2-Preset_boards-GENERIC_HAL_Backend-FlashManager
index 56372062942a47d902ffc36e84ebf0d96c22b99d..336ae2759facc5136eb58cf66d9906b1341922d0 100644 (file)
@@ -10,6 +10,7 @@ Suggests:     %{name}-sub1-Preset_boards-ARTIK530_HAL_Backend
 Suggests:      %{name}-sub1-Preset_boards-COMMON
 Suggests:      %{name}-sub1-Preset_boards-RPI3_HAL_Backend
 Suggests:      %{name}-sub1-Preset_boards-RPI4_HAL_Backend
+Suggests:      %{name}-sub1-Preset_boards-GENERIC_HAL_Backend
 %endif
 %ifarch aarch64
 Suggests:      %{name}-sub1-Preset_boards-VIM3_HAL_Backend