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>
This commit is contained in:
Bjorn Andersson 2016-02-07 22:01:57 -08:00
parent 763db9812c
commit 18fc98b858
3 changed files with 3 additions and 3 deletions

View File

@ -27,9 +27,9 @@ $(proj)-lookup-srcs := \
src/util.c \
lib$(proj).so-srcs := \
src/lib.c \
lib/libqrtr.c \
lib$(proj).so-cflags := -fPIC
lib$(proj).so-cflags := -fPIC -Isrc
targets := $(proj)-ns $(proj)-lookup lib$(proj).so

View File

@ -9,7 +9,7 @@
#include <poll.h>
#include "qrtr.h"
#include "lib.h"
#include "libqrtr.h"
#include "ns.h"
#define LOGW(fmt, ...) do { fprintf(stderr, "W|qrtr: " fmt "\n", ##__VA_ARGS__); } while (0)