mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00

Dell All In One (AIO) models released after 2017 use a backlight controller board connected to an UART. Add a small emulator to allow development and testing of the drivers/platform/x86/dell/dell-uart-backlight.c driver for this board, without requiring access to an actual Dell All In One. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240513144603.93874-3-hdegoede@redhat.com
20 lines
486 B
Makefile
20 lines
486 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for Intel Software Defined Silicon provisioning tool
|
|
|
|
dell-uart-backlight-emulator: dell-uart-backlight-emulator.c
|
|
|
|
BINDIR ?= /usr/bin
|
|
|
|
override CFLAGS += -O2 -Wall
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
.PHONY : clean
|
|
clean :
|
|
@rm -f dell-uart-backlight-emulator
|
|
|
|
install : dell-uart-backlight-emulator
|
|
install -d $(DESTDIR)$(BINDIR)
|
|
install -m 755 -p dell-uart-backlight-emulator $(DESTDIR)$(BINDIR)/dell-uart-backlight-emulator
|