Files
diag/Makefile
Eyal Ilsar 2955443bcc diag: router: Add handling of Logging Configuration command (cmd_id=115)
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>
2018-01-23 16:36:09 -08:00

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)