diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-08 12:26:21 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-08 12:26:21 +0900 |
commit | 79466929b5ddaff25061632bbdaf885130fba832 (patch) | |
tree | 75b1394eeccee137ad15ed39556248139915ea90 | |
parent | ef54afc505f46ed330c515c50070d3848aff4cb6 (diff) | |
download | device-79466929b5ddaff25061632bbdaf885130fba832.tar.gz device-79466929b5ddaff25061632bbdaf885130fba832.tar.bz2 device-79466929b5ddaff25061632bbdaf885130fba832.zip |
Change header file installation path
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>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | packaging/hal-api-device.spec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8426df0..fbd3189 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" ) diff --git a/packaging/hal-api-device.spec b/packaging/hal-api-device.spec index 48e24a4..5b28b1d 100644 --- a/packaging/hal-api-device.spec +++ b/packaging/hal-api-device.spec @@ -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 |