diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2024-04-25 15:36:57 +0900 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2024-04-26 13:17:59 +0900 |
commit | 9c2b58f48c7dbe9a09583df0a7fa7de4df054a31 (patch) | |
tree | b398300fd2ac5c79c4099f753255585348847077 | |
parent | 80868acd4474961b3eb3c7bbb061ac6594efbf0b (diff) | |
download | building-blocks-9c2b58f48c7dbe9a09583df0a7fa7de4df054a31.tar.gz building-blocks-9c2b58f48c7dbe9a09583df0a7fa7de4df054a31.tar.bz2 building-blocks-9c2b58f48c7dbe9a09583df0a7fa7de4df054a31.zip |
[ACR-1814] packaging: set abi info for arm boards and x86 emulators
http://tizen.org/feature/platform.core.abi
[System Information] The platform returns the ABI information (e.g.
"arm_32", "arm_64", "riscv_32", "riscv_64", "x86", "x86_64") of a device.
Change-Id: I95af0bbf5502110ded114f33269a482c450bd170
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 files changed, 27 insertions, 0 deletions
diff --git a/packaging/platform-preset-boards-artik530-hal-backend.inc b/packaging/platform-preset-boards-artik530-hal-backend.inc index d7dbdae..dce317c 100644 --- a/packaging/platform-preset-boards-artik530-hal-backend.inc +++ b/packaging/platform-preset-boards-artik530-hal-backend.inc @@ -21,9 +21,12 @@ Firstly select HAL Backends to add to your image. %posttrans sub1-Preset_boards-ARTIK530_HAL_Backend %tizen_hal_feature tizen.org/system/platform.processor exynos %tizen_hal_feature tizen.org/system/platform.communication_processor none +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_32 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch armv7 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv7 true %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv8 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv64 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.frequency 1200 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch vfpv3 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 true diff --git a/packaging/platform-preset-boards-c4-hal-backend.inc b/packaging/platform-preset-boards-c4-hal-backend.inc index 61b41fa..7766aad 100644 --- a/packaging/platform-preset-boards-c4-hal-backend.inc +++ b/packaging/platform-preset-boards-c4-hal-backend.inc @@ -21,10 +21,13 @@ Firstly select HAL Backends to add to your image. %posttrans sub1-Preset_boards-C4_HAL_Backend %tizen_hal_feature tizen.org/system/platform.processor S905X3 %tizen_hal_feature tizen.org/system/platform.communication_processor none +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_64 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch armv8 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv6 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv7 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv8 true +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv64 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.frequency 2000 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv2 false %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 false diff --git a/packaging/platform-preset-boards-emul.inc b/packaging/platform-preset-boards-emul.inc index 040504e..fb19070 100644 --- a/packaging/platform-preset-boards-emul.inc +++ b/packaging/platform-preset-boards-emul.inc @@ -40,13 +40,17 @@ Firstly select HALs and Feature to add to your image. %tizen_feature tizen.org/system/platform.processor Emulator %tizen_feature tizen.org/system/platform.communication_processor none %ifarch x86_64 +%tizen_feature tizen.org/feature/platform.core.abi x86_64 %tizen_feature tizen.org/feature/platform.core.cpu.arch x86_64 %else +%tizen_feature tizen.org/feature/platform.core.abi x86 %tizen_feature tizen.org/feature/platform.core.cpu.arch x86 %endif %tizen_feature tizen.org/feature/platform.core.cpu.arch.armv7 false %tizen_feature tizen.org/feature/platform.core.cpu.arch.armv8 false %tizen_feature tizen.org/feature/platform.core.cpu.arch.x86 true +%tizen_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false +%tizen_feature tizen.org/feature/platform.core.cpu.arch.riscv64 false %tizen_feature tizen.org/feature/platform.core.fpu.arch sse3 %tizen_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 false %tizen_feature tizen.org/feature/platform.core.fpu.arch.sse3 true diff --git a/packaging/platform-preset-boards-generic-hal-backend.inc b/packaging/platform-preset-boards-generic-hal-backend.inc index 1a4c0bf..69cfc56 100644 --- a/packaging/platform-preset-boards-generic-hal-backend.inc +++ b/packaging/platform-preset-boards-generic-hal-backend.inc @@ -23,6 +23,13 @@ Requires: %{name}-sub2-Preset_boards-GENERIC_HAL_Backend-FlashManager Firstly select HAL Backends to add to your image. %files sub1-Preset_boards-GENERIC_HAL_Backend %posttrans sub1-Preset_boards-GENERIC_HAL_Backend +%ifarch aarch64 +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_64 +%elifarch riscv64 +%tizen_hal_feature tizen.org/feature/platform.core.abi riscv_64 +%else +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_32 +%endif %tizen_hal_feature tizen.org/system/platform.processor none %tizen_hal_feature tizen.org/system/platform.communication_processor none %tizen_hal_feature tizen.org/feature/network.asp true diff --git a/packaging/platform-preset-boards-rpi4-hal-backend.inc b/packaging/platform-preset-boards-rpi4-hal-backend.inc index 375c6c3..4d8e863 100644 --- a/packaging/platform-preset-boards-rpi4-hal-backend.inc +++ b/packaging/platform-preset-boards-rpi4-hal-backend.inc @@ -23,9 +23,16 @@ Firstly select HAL Backends to add to your image. %posttrans sub1-Preset_boards-RPI4_HAL_Backend %tizen_hal_feature tizen.org/system/platform.processor BCM2711 %tizen_hal_feature tizen.org/system/platform.communication_processor none +%ifarch aarch64 +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_64 +%else +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_32 +%endif %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch armv8 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv7 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv8 true +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv64 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.frequency 1200 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch vfpv4 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 false diff --git a/packaging/platform-preset-boards-vim3-hal-backend.inc b/packaging/platform-preset-boards-vim3-hal-backend.inc index 76a9e4c..f6acc39 100644 --- a/packaging/platform-preset-boards-vim3-hal-backend.inc +++ b/packaging/platform-preset-boards-vim3-hal-backend.inc @@ -22,10 +22,13 @@ Firstly select HAL Backends to add to your image. %posttrans sub1-Preset_boards-VIM3_HAL_Backend %tizen_hal_feature tizen.org/system/platform.processor A311D %tizen_hal_feature tizen.org/system/platform.communication_processor none +%tizen_hal_feature tizen.org/feature/platform.core.abi arm_64 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch armv8 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv6 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv7 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv8 true +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv64 false %tizen_hal_feature tizen.org/feature/platform.core.cpu.frequency 2200 %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv2 false %tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 false |