/usr/include/hal/device/hal-common-interface.h ==> /hal/include/device/hal-common-interface.h
Change-Id: I754eaa873264a707dc420cc43a52a5384fed11d3
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${HAL_LIB_DIR} COMPONENT RuntimeLibraries)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.Apache-2.0 DESTINATION ${HAL_LICENSE_DIR}/${PROJECT_NAME})
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/hal-common-interface.h DESTINATION include/hal/device)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/hal-backend-common-usb_gadget.h DESTINATION ${HAL_INCLUDE_DIR}/device)
CONFIGURE_FILE(hal-backend-device-common.pc.in hal-backend-device-common.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/hal-backend-device-common.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
Name: HAL backend device common
Description: Library for HAL backend device modules
Version: 1.1
-Libs: -L@HAL_LIB_DIR@ -Wl,-rpath,@HAL_LIB_DIR@ -lhal-backend-device-common
+Libs: -L@HAL_LIB_DIR@ -Wl,-rpath,@HAL_LIB_DIR@ -lhal-backend-device-common
\ No newline at end of file
*/
-#ifndef __HAL_COMMON_H_
-#define __HAL_COMMON_H_
+#ifndef __HAL_BACKEND_COMMON_USB_GADGET_H__
+#define __HAL_BACKEND_COMMON_USB_GADGET_H__
#include <hal/device/hal-usb_gadget-interface.h>
#ifdef __cplusplus
}
#endif
-#endif /* __HAL_BOARD_INTERFACE_H__ */
+#endif /* __HAL_BACKEND_COMMON_USB_GADGET_H__ */
%build
%cmake . -DHAL_LIB_DIR=%{_hal_libdir} \
- -DHAL_LICENSE_DIR=%{_hal_licensedir}
+ -DHAL_INCLUDE_DIR=%{_hal_includedir} \
+ -DHAL_LICENSE_DIR=%{_hal_licensedir}
make %{?jobs:-j%jobs}
%files devel
%manifest %{name}.manifest
%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0
-%{_includedir}/hal/device/hal-common-interface.h
+%{_hal_includedir}/device/hal-backend-common-usb_gadget.h
%{_libdir}/pkgconfig/*.pc
/*
- * libdevice-node
- *
* Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the License);
/*
- * libdevice-node
- *
* Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the License);
/*
- * libdevice-node
- *
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the License);
/*
- * libdevice-node
- *
* Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the License);