mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-16 02:08:54 +00:00
f6421e1942
Signed-off-by: Matthias Reichl <hias@horus.com>
22 lines
868 B
Makefile
22 lines
868 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="lan951x-led-ctl"
|
|
PKG_VERSION="1.0"
|
|
PKG_SHA256="27d607d3c5c7b142681dcd9fd0afecb7fcb052abfaffc330b28906f782e602f3"
|
|
PKG_ARCH="arm aarch64"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://familie-radermacher.ch/dominic/computer/raspberry-pi/lan951x-led-ctl/"
|
|
PKG_URL="https://mockmoon-cybernetics.ch/cgi/cgit/lan951x-led-ctl.git/snapshot/lan951x-led-ctl-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain libusb"
|
|
PKG_LONGDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
make_target() {
|
|
${CC} -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion \
|
|
-Wmissing-prototypes -Wshadow -Wextra -Wunused \
|
|
${CFLAGS} -lusb-1.0 ${LDFLAGS} -o lan951x-led-ctl src/lan951x-led-ctl.c
|
|
|
|
${STRIP} lan951x-led-ctl
|
|
}
|