diff options
-rw-r--r-- | packaging/building-blocks.spec | 2 | ||||
-rw-r--r-- | packaging/platform-preset-boards-generic-hal-backend.inc | 96 | ||||
-rw-r--r-- | packaging/platform-preset-boards.inc | 1 |
3 files changed, 99 insertions, 0 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 4edbe87..ec962bb 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -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 index 0000000..d4ead9c --- /dev/null +++ b/packaging/platform-preset-boards-generic-hal-backend.inc @@ -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 diff --git a/packaging/platform-preset-boards.inc b/packaging/platform-preset-boards.inc index 5637206..336ae27 100644 --- a/packaging/platform-preset-boards.inc +++ b/packaging/platform-preset-boards.inc @@ -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 |