mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
ae3473231e
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>
14 lines
232 B
Makefile
14 lines
232 B
Makefile
# Makefile for LEDs tools
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
CFLAGS = -Wall -Wextra -g -I../../include/uapi
|
|
|
|
all: uledmon led_hw_brightness_mon
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
$(RM) uledmon led_hw_brightness_mon
|
|
|
|
.PHONY: all clean
|