From 79466929b5ddaff25061632bbdaf885130fba832 Mon Sep 17 00:00:00 2001 From: Yunhee Seo Date: Mon, 8 Apr 2024 12:26:21 +0900 Subject: 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 --- CMakeLists.txt | 2 +- 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 -- cgit v1.2.3