mirror of
https://github.com/linux-msm/diag.git
synced 2026-02-25 13:11:48 -08:00
Implemented and registered a handler for the Logging Configuration command request. Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org> [bjorn: Move handler to common_cmds.c, abstract broadcasting the logmask to all peripherals, replace posix_memalign with malloc] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
31 lines
394 B
Makefile
31 lines
394 B
Makefile
DIAG := diag
|
|
|
|
CFLAGS := -Wall -g -O2
|
|
LDFLAGS := -ludev
|
|
|
|
SRCS := app_cmds.c \
|
|
common_cmds.c \
|
|
diag.c \
|
|
diag_cntl.c \
|
|
hdlc.c \
|
|
masks.c \
|
|
mbuf.c \
|
|
peripheral.c \
|
|
router.c \
|
|
socket.c \
|
|
uart.c \
|
|
usb.c \
|
|
util.c \
|
|
watch.c
|
|
|
|
OBJS := $(SRCS:.c=.o)
|
|
|
|
$(DIAG): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
install: $(DIAG)
|
|
install -D -m 755 $< $(DESTDIR)$(prefix)/bin/$<
|
|
|
|
clean:
|
|
rm -f $(DIAG) $(OBJS)
|