Commit Graph

8 Commits

Author SHA1 Message Date
Nicolas Dechesne
44bd79feb7 Makefile: implement GNU Coding Standard for Makefiles
GNU coding standards notably specifies:
 * install files with the $(DESTDIR) to the target system image
 * install files with the $(prefix), not $(PREFIX)
 * the default value of $(prefix) should be /usr/local

as per
https://www.gnu.org/prep/standards/html_node/Directory-Variables.html.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-06 01:18:50 +02:00
Nicolas Dechesne
ea3c58a2e2 makefile: install libqrtr.h file
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-06 01:18:18 +02:00
Nicolas Dechesne
b5cee337fa makefile: add support to install header file
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>
2016-06-06 01:18:18 +02:00
Nicolas Dechesne
dcf148e15e makefile: split bin and lib targets macros
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>
2016-06-06 01:18:12 +02:00
Nicolas Dechesne
6fb22ecfb1 makefile: create destination folder when installing files
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-06-03 18:55:59 +02:00
Bjorn Andersson
d7c59006cb qrtr-cfg: Introduce node-id configuration tool
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>
2016-06-01 06:44:36 -07:00
Bjorn Andersson
18fc98b858 libqrtr: Extract the lib from the src directory
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>
2016-02-07 22:01:57 -08:00
Courtney Cavin
4ec6c07f37 Initial commit
Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com>
2015-12-04 13:23:53 -08:00