summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2021-07-13 16:56:21 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2021-07-14 09:25:32 +0900
commit472c5a86843696c381f9f6e3bd2e79f560c3822b (patch)
tree1dbb5f8f43b0983761c845d9770eaff8ffdf28d4
parent23c831e65d96c9c85af317239763c26d44338b35 (diff)
downloadunified-model-config-472c5a86843696c381f9f6e3bd2e79f560c3822b.tar.gz
unified-model-config-472c5a86843696c381f9f6e3bd2e79f560c3822b.tar.bz2
unified-model-config-472c5a86843696c381f9f6e3bd2e79f560c3822b.zip
generic: add the generic model-config-hal.xml filesubmit/tizen/20210714.010339accepted/tizen/unified/20210714.014007
Add the generic model-config-hal.xml file for hal-backend. This xml file is showed the list what feature is relevant to HAL. - Set to false about key value in this file by default. It has to set to proper key value in building-block according to each targets. Change-Id: Id977285599ac21366a1f0f893d1220368d0ed8a8 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--generic/model-config-hal.xml195
-rwxr-xr-xpackaging/unified-model-config.spec19
2 files changed, 214 insertions, 0 deletions
diff --git a/generic/model-config-hal.xml b/generic/model-config-hal.xml
new file mode 100644
index 0000000..018e00a
--- /dev/null
+++ b/generic/model-config-hal.xml
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<model-config version="6.5" model="TizezHAL">
+ <platform>
+ <key name="tizen.org/system/model_name" type="string">TizenHAL</key>
+ <key name="tizen.org/system/platform.processor" type="string">none</key>
+ <key name="tizen.org/system/platform.communication_processor" type="string">none</key>
+ <key name="tizen.org/system/manufacturer" type="string">Tizen</key>
+ <key name="tizen.org/feature/battery" type="bool">false</key>
+ <key name="tizen.org/feature/camera" type="bool">false</key>
+ <key name="tizen.org/feature/camera.back" type="bool">false</key>
+ <key name="tizen.org/feature/camera.back.flash" type="bool">false</key>
+ <key name="tizen.org/feature/camera.front" type="bool">false</key>
+ <key name="tizen.org/feature/camera.front.flash" type="bool">false</key>
+ <key name="tizen.org/feature/diagnostics" type="bool">false</key>
+ <key name="tizen.org/feature/display" type="bool">false</key>
+ <key name="tizen.org/feature/download" type="bool">false</key>
+ <key name="tizen.org/feature/feedback.vibration" type="bool">false</key>
+ <key name="tizen.org/feature/graphics.acceleration" type="bool">false</key>
+ <key name="tizen.org/feature/iot.ocf" type="bool">false</key>
+ <key name="tizen.org/feature/led" type="bool">false</key>
+ <key name="tizen.org/feature/media.audio_recording" type="bool">false</key>
+ <key name="tizen.org/feature/media.image_capture" type="bool">false</key>
+ <key name="tizen.org/feature/media.video_recording" type="bool">false</key>
+ <key name="tizen.org/feature/microphone" type="bool">false</key>
+ <key name="tizen.org/feature/multimedia.media_codec" type="bool">false</key>
+ <key name="tizen.org/feature/multimedia.player.spherical_video" type="bool">false</key>
+ <key name="tizen.org/feature/multimedia.player.audio_offload" type="bool">false</key>
+ <key name="tizen.org/feature/network.asp" type="bool">false</key>
+ <key name="tizen.org/feature/network.ethernet" type="bool">false</key>
+ <key name="tizen.org/feature/network.internet" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.audio.call" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.audio.media" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.audio.controller" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.health" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.hid" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.hid_device" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.le" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.le.ipsp" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.le.gatt.server" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.le.gatt.client" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.opp" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.oob" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.phonebook.client" type="bool">false</key>
+ <key name="tizen.org/feature/network.bluetooth.le.5_0" type="bool">false</key>
+ <key name="tizen.org/feature/network.mtp" type="bool">false</key>
+ <key name="tizen.org/feature/network.net_proxy" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc.tag" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc.p2p" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc.card_emulation" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc.card_emulation.hce" type="bool">false</key>
+ <key name="tizen.org/feature/network.nfc.reserved_push" type="bool">false</key>
+ <key name="tizen.org/feature/network.push" type="bool">false</key>
+ <key name="tizen.org/feature/network.secure_element" type="bool">false</key>
+ <key name="tizen.org/feature/network.secure_element.ese" type="bool">false</key>
+ <key name="tizen.org/feature/network.secure_element.uicc" type="bool">false</key>
+ <key name="tizen.org/feature/network.service_discovery.dnssd" type="bool">false</key>
+ <key name="tizen.org/feature/network.service_discovery.ssdp" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.sms.cbs" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.sms" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.mms" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.cdma" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.edge" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.gprs" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.gsm" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.hsdpa" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.hspa" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.hsupa" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.lte" type="bool">false</key>
+ <key name="tizen.org/feature/network.telephony.service.umts" type="bool">false</key>
+ <key name="tizen.org/feature/network.tethering" type="bool">false</key>
+ <key name="tizen.org/feature/network.tethering.bluetooth" type="bool">false</key>
+ <key name="tizen.org/feature/network.tethering.usb" type="bool">false</key>
+ <key name="tizen.org/feature/network.tethering.wifi" type="bool">false</key>
+ <key name="tizen.org/feature/network.tethering.wifi.direct" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi.tdls" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi.direct" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi.direct.display" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi.direct.service_discovery" type="bool">false</key>
+ <key name="tizen.org/feature/network.wifi.softap" type="bool">false</key>
+ <key name="tizen.org/feature/network.traffic_control" type="bool">false</key>
+ <key name="tizen.org/feature/network.inm" type="bool">false</key>
+ <key name="tizen.org/feature/network.vpn" type="bool">false</key>
+ <key name="tizen.org/feature/network.zigbee" type="bool">false</key>
+ <key name="tizen.org/feature/user_awareness" type="bool">false</key>
+ <key name="tizen.org/feature/opengles" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.surfaceless_context" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.3dc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.atc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.etc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.ptc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.pvrtc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.texture_format.utc" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.version.1_1" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.version.2_0" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.version.3_0" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.version.3_1" type="bool">false</key>
+ <key name="tizen.org/feature/opengles.version.3_2" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.gpio" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.i2c" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.pwm" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.adc" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.spi" type="bool">false</key>
+ <key name="tizen.org/feature/peripheral_io.uart" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.cpu.arch" type="string">none</key>
+ <key name="tizen.org/feature/platform.core.cpu.arch.armv6" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.cpu.arch.armv7" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.cpu.arch.armv8" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.cpu.arch.x86" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.cpu.frequency" type="int">0</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch" type="string">none</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.sse2" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.sse3" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.ssse3" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.vfpv2" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.vfpv3" type="bool">false</key>
+ <key name="tizen.org/feature/platform.core.fpu.arch.vfpv4" type="bool">false</key>
+ <key name="tizen.org/feature/screen" type="bool">false</key>
+ <key name="tizen.org/feature/screen.always_on.high_color" type="bool">false</key>
+ <key name="tizen.org/feature/screen.always_on.low_bit_color" type="bool">false</key>
+ <key name="tizen.org/feature/screen.bpp" type="int">32</key>
+ <key name="tizen.org/feature/screen.coordinate_system.size.large" type="bool">false</key>
+ <key name="tizen.org/feature/screen.coordinate_system.size.normal" type="bool">false</key>
+ <key name="tizen.org/feature/screen.height" type="int">0</key>
+ <key name="tizen.org/feature/screen.output.hdmi" type="bool">false</key>
+ <key name="tizen.org/feature/screen.output.rca" type="bool">false</key>
+ <key name="tizen.org/feature/screen.shape.circle" type="bool">false</key>
+ <key name="tizen.org/feature/screen.shape.rectangle" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.all" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.large" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.240.400" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.320.320" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.320.480" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.360.360" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.360.480" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.480.800" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.540.960" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.600.1024" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.720.1280" type="bool">false</key>
+ <key name="tizen.org/feature/screen.size.normal.1080.1920" type="bool">false</key>
+ <key name="tizen.org/feature/screen.width" type="int">1280</key>
+ <key name="tizen.org/feature/sensor.accelerometer" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.accelerometer.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.activity_recognition" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.barometer" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.barometer.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.bio" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.geomagnetic_rotation_vector" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gesture_recognition" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gravity" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gyroscope" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gyroscope.uncalibrated" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gyroscope.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.gyroscope_rotation_vector" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor.led_green" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor.led_ir" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor.led_red" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.humidity" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.linear_acceleration" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.magnetometer" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.magnetometer.uncalibrated" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.magnetometer.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.pedometer" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.photometer" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.photometer.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.proximity" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.proximity.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.rotation_vector" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.significant_motion" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.sleep_monitor" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.stress_monitor" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.temperature" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.tiltmeter" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.tiltmeter.wakeup" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.ultraviolet" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.wrist_up" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor.batch" type="bool">false</key>
+ <key name="tizen.org/feature/sensor.heart_rate_monitor.led_green.batch" type="bool">false</key>
+ <key name="tizen.org/feature/storage.external" type="bool">false</key>
+ <key name="tizen.org/feature/thermistor.ap" type="bool">false</key>
+ <key name="tizen.org/feature/thermistor.cp" type="bool">false</key>
+ <key name="tizen.org/feature/thermistor.battery" type="bool">false</key>
+ <key name="tizen.org/feature/tv.display" type="bool">false</key>
+ <key name="tizen.org/feature/usb.accessory" type="bool">false</key>
+ <key name="tizen.org/feature/usb.host" type="bool">false</key>
+ <key name="tizen.org/feature/vulkan.version.1_0" type="bool">false</key>
+ </platform>
+ <custom>
+ </custom>
+</model-config>
diff --git a/packaging/unified-model-config.spec b/packaging/unified-model-config.spec
index a109270..e162f81 100755
--- a/packaging/unified-model-config.spec
+++ b/packaging/unified-model-config.spec
@@ -79,6 +79,11 @@ Provides: model-config
%description -n model-config-rpi3-profile_tv
Model configuration data package main body supporting TV profile
+%package -n model-config-generic-hal
+Summary: Model configuration for HAL Backend
+Provides: model-config
+%description -n model-config-generic-hal
+Model configuration data package for HAL Backend
%prep
%setup -q -n %{name}-%{version}
@@ -123,6 +128,13 @@ cp -f xu3/model-config_tv.xml %{buildroot}%{_sysconfdir}/config/xu3_tv.xml
###### For rpi3 ######
cp -f rpi3/model-config_tv.xml %{buildroot}%{_sysconfdir}/config/rpi3_tv.xml
+###### For generic hal ######
+mkdir -p %{buildroot}%{_hal_sysconfdir}/config
+cp -f generic/model-config-hal.xml %{buildroot}%{_hal_sysconfdir}/config/hal.xml
+
+install -d %{buildroot}%{_hal_licensedir}/model-config-generic-hal/
+install -m 664 LICENSE.Apache-2.0 %{buildroot}%{_hal_licensedir}/model-config-generic-hal/
+
install -d %{buildroot}%{_bindir}
install -m 755 scripts/model-config-cli %{buildroot}%{_bindir}
@@ -214,3 +226,10 @@ ln -sf rpi3_tv.xml %{_sysconfdir}/config/model-config.xml
%config %{_sysconfdir}/config/rpi3_tv.xml
%{_bindir}/model-config-cli
%license LICENSE.Apache-2.0
+
+%post -n model-config-generic-hal
+ln -sf hal.xml %{_hal_sysconfdir}/config/model-config.xml
+%files -n model-config-generic-hal
+%manifest %{name}.manifest
+%config %{_hal_sysconfdir}/config/hal.xml
+%{_hal_licensedir}/model-config-generic-hal/LICENSE.Apache-2.0