mirror of
https://github.com/linux-msm/rmtfs.git
synced 2025-12-24 14:06:25 +01:00
To support creating and parsing requests and indications as well qmic adds an extra parameter to the tlv alloc and decode functions, so that this can be used to generate and validate that the qmi packet header is of the correct type. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
21 lines
287 B
Makefile
21 lines
287 B
Makefile
OUT := rmtfs
|
|
|
|
CFLAGS := -Wall -g -I../qrtr/lib
|
|
LDFLAGS := -L../qrtr -lqrtr
|
|
|
|
SRCS := qmi_rmtfs.c qmi_tlv.c rmtfs.c sharedmem.c storage.c util.c
|
|
OBJS := $(SRCS:.c=.o)
|
|
|
|
$(OUT): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
%.c: %.qmi
|
|
qmic < $<
|
|
|
|
test: $(OUT)
|
|
./$(OUT)
|
|
|
|
clean:
|
|
rm -f $(OUT) $(OBJS)
|
|
|