diff options
author | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-01-29 12:52:31 +0100 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-02-14 22:20:23 +0100 |
commit | ae3473231e77a3f1909d48cd144cebe5e1d049b3 (patch) | |
tree | 8541d32cc0a4e7b426bb1b962de504fd1f0e02fc /tools/leds/Makefile | |
parent | 0cb8eb30d425d2d2ae28ab630596c44a158784c4 (diff) | |
download | linux-ae3473231e77a3f1909d48cd144cebe5e1d049b3.tar.bz2 |
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/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/leds/Makefile b/tools/leds/Makefile index c03a79ebf9c8..078b666fd78b 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 |