New macro to be used to deploy header files when 'installing'. Use it as:
$(call add-inc-target,lib,foo.h)
to install file lib/foo.h
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Build libraries with proper soname, real and linker names, using symlinks
appropriately.
As such, the generic macro 'add-target' can no longer be used for both
binary and libaries.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
The final version of QRTR that was merged into v4.7 of the Linux kernel
requires a configuration step where we set the local node address.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Extract the libqrtr source and header file to a separate directory,
making it more convinient to include the header file from other
projects.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
The instance is made up of 16 bits of version and 16 bits of instance,
the first is used upon matching services and must often be specified by
service implementations, so make it convenient to specify these.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Upon receiving a HELLO from the remote we need to advertise our
registered services for it to know about them.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
As node 0 is made a valid id in the kernel we're not allowed to specify
node 0 when binding our sockets. For now just hard code 1, as that's
where we are.
Either the kernel should define a reserved node id or we should have a
convenient way of specifying the local node, but for now this is good
enough.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>