From fa7f32422ea1ac276b45b96a540ed5981caaa61f Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 16 Sep 2016 14:16:50 -0500 Subject: tools/leds: Add uledmon program for monitoring userspace LEDs The uleds driver provides userspace LED devices. This tool is used to create one of these devices and monitor the changes in brighness for testing purposes. Signed-off-by: David Lechner Signed-off-by: Jacek Anaszewski --- tools/leds/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/leds/Makefile (limited to 'tools/leds/Makefile') diff --git a/tools/leds/Makefile b/tools/leds/Makefile new file mode 100644 index 000000000000..c03a79ebf9c8 --- /dev/null +++ b/tools/leds/Makefile @@ -0,0 +1,13 @@ +# Makefile for LEDs tools + +CC = $(CROSS_COMPILE)gcc +CFLAGS = -Wall -Wextra -g -I../../include/uapi + +all: uledmon +%: %.c + $(CC) $(CFLAGS) -o $@ $^ + +clean: + $(RM) uledmon + +.PHONY: all clean -- cgit v1.2.3