cmake: Search for libjson-c Since we use libblobmsg_json which uses libjson-c internally, make sure we find this library. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
cmake: Find libubox/blobmsg_json.h Add a CMake FIND_PATH and INCLUDE_DIRECTORIES searching for libubox/blobmsg_json.h. Some external toolchains which do not include standard locations would fail to find the header otherwise. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
move some code to a separate source file
add device listing/matching functionality
initial dummy