restore to add devman_plugin.pc file. submit/trunk/20130304.020433
authorjy910.yun <jy910.yun@samsung.com>
Wed, 27 Feb 2013 05:31:35 +0000 (14:31 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Wed, 27 Feb 2013 07:19:13 +0000 (16:19 +0900)
Change-Id: I8fb76484a4f51fdfcc9625cc0ecb411d9a64d9be

CMakeLists.txt
src/device-node.c

index fd1711416e26eff4458a5414216df5c54fd09379..6aca9501e53c1246797624eddd1b575d72c5c741 100644 (file)
@@ -40,8 +40,8 @@ CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
 
 # will be deprecated
-#CONFIGURE_FILE(devman_plugin.pc.in devman_plugin.pc @ONLY)
-#INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/devman_plugin.pc DESTINATION lib/pkgconfig)
+CONFIGURE_FILE(devman_plugin.pc.in devman_plugin.pc @ONLY)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/devman_plugin.pc DESTINATION lib/pkgconfig)
 
 FOREACH(hfile ${HEADERS})
        INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${hfile} DESTINATION include/${PROJECT_NAME})
index b567a651609bbf7924cefa315e6d013f2c6d38d6..461277825744b9b9982777627deaab89262eb7a3 100644 (file)
@@ -87,7 +87,7 @@ API int device_get_property(enum device_type devtype, int property, int *value)
                errno = ENODEV;
                return -1;
        } else if (r == -1) {
-               DEVERR("get_prop of %s return failes", dev->name);
+               DEVERR("get_prop of %s(%d) return failes", dev->name, property);
                errno = EPERM;
                return -1;
        }
@@ -128,7 +128,7 @@ API int device_set_property(enum device_type devtype, int property, int value)
                errno = ENODEV;
                return -1;
        } else if (r == -1) {
-               DEVERR("set_prop of %s return failes", dev->name);
+               DEVERR("set_prop of %s(%d) return failes", dev->name, property);
                errno = EPERM;
                return -1;
        }