summaryrefslogtreecommitdiffstats
path: root/tools/leds/Makefile
diff options
context:
space:
mode:
authorJacek Anaszewski <jacek.anaszewski@gmail.com>2017-01-29 12:52:31 +0100
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-02-14 22:20:23 +0100
commitae3473231e77a3f1909d48cd144cebe5e1d049b3 (patch)
tree8541d32cc0a4e7b426bb1b962de504fd1f0e02fc /tools/leds/Makefile
parent0cb8eb30d425d2d2ae28ab630596c44a158784c4 (diff)
downloadop-kernel-dev-ae3473231e77a3f1909d48cd144cebe5e1d049b3.zip
op-kernel-dev-ae3473231e77a3f1909d48cd144cebe5e1d049b3.tar.gz
tools/leds: Add led_hw_brightness_mon program
LED subsystem supports POLLPRI on "brightness_hw_changed" sysfs file of LED class devices. This tool demonstrates how to use the feature. Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/leds/Makefile')
-rw-r--r--tools/leds/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/leds/Makefile b/tools/leds/Makefile
index c03a79e..078b666 100644
--- a/tools/leds/Makefile
+++ b/tools/leds/Makefile
@@ -3,11 +3,11 @@
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra -g -I../../include/uapi
-all: uledmon
+all: uledmon led_hw_brightness_mon
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
- $(RM) uledmon
+ $(RM) uledmon led_hw_brightness_mon
.PHONY: all clean
OpenPOWER on IntegriCloud