Change header file installation path 64/309264/3
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 8 Apr 2024 03:26:21 +0000 (12:26 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 8 Apr 2024 03:26:21 +0000 (12:26 +0900)
Actually, the path of hal module interface and header files should be
under the "/usr/include/hal/" path, not "/usr/include/hal/device".
Thus, change the header file path from "/hal/device" to "/hal".

Change-Id: I70dc56ee692b40838b8aafacc78c9ddea81d6e51
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
CMakeLists.txt
packaging/hal-api-device.spec

index 8426df035d99092621fee77f88aaecaf15d9e991..fbd3189d98659240fa0563fb2f5b9f72ae07377c 100644 (file)
@@ -48,7 +48,7 @@ SET_TARGET_PROPERTIES(${fw_name}
 
 INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR}/hal)
 INSTALL(
-    DIRECTORY ${INC_DIR}/ DESTINATION include/hal/device
+    DIRECTORY ${INC_DIR}/ DESTINATION include/hal
     FILES_MATCHING
     PATTERN "${INC_DIR}/hal-*.h"
 )
index 48e24a4eb88eb96a6aa35a46436d944c9d3176ed..5b28b1de61412fcd8ae999da879f9fa2c5864ccc 100644 (file)
@@ -59,7 +59,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %files devel
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
-%{_includedir}/hal/device/hal-*.h
+%{_includedir}/hal/hal-*.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/hal/libhal-api-device.so