hal-manifest: Add hal-manifest 41/311441/3
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 21 May 2024 06:50:25 +0000 (15:50 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 22 May 2024 05:23:59 +0000 (14:23 +0900)
Change-Id: Ia86a28c0fd9dae2e976130cd0e2d196016251d9d
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
hal-manifest/hal-api-device.xml [new file with mode: 0644]
packaging/hal-api-device.spec

index fbd3189d98659240fa0563fb2f5b9f72ae07377c..95677f2a569939f63d0c80c1980595279b560e72 100644 (file)
@@ -52,6 +52,7 @@ INSTALL(
     FILES_MATCHING
     PATTERN "${INC_DIR}/hal-*.h"
 )
+INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/hal-manifest DESTINATION /etc)
 
 SET(PC_NAME ${fw_name})
 SET(PC_REQUIRED ${pc_dependents})
diff --git a/hal-manifest/hal-api-device.xml b/hal-manifest/hal-api-device.xml
new file mode 100644 (file)
index 0000000..793a688
--- /dev/null
@@ -0,0 +1,56 @@
+<hal-api>
+       <manifest platform-version="9.0">
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_BATTERY</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_BEZEL</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_DISPLAY</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_IR</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_TOUCHSCREEN</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_LED</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_BOARD</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_EXTERNAL_CONNECTION</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_THERMAL</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_HAPTIC</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_MEMORY</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_INPUT</name>
+                       <version>1.0</version>
+               </hal-module>
+               <hal-module>
+                       <name>HAL_MODULE_DEVICE_POWER</name>
+                       <version>1.0</version>
+               </hal-module>
+       </manifest>
+</hal-api>
index 5b28b1de61412fcd8ae999da879f9fa2c5864ccc..ef248bdd7065cadf6cf4a3ce5eb93424290957b2 100644 (file)
@@ -55,6 +55,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
 %{_libdir}/hal/libhal-api-device.so*
+%{_sysconfdir}/hal-manifest
 
 %files devel
 %manifest %{name}.manifest