forked from libretro/Lakka-LibreELEC
47c07c60ba
* Latest 4.3 changes poorly merged * Build fixes * Squash? * Fix ppsspp on switch * Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now * Clean up left over files * Switch: Dont build xpadneo driver, but install configs * FFMpeg: Add back L4T decoder Patches
18 lines
563 B
Makefile
18 lines
563 B
Makefile
PKG_NAME="usb-gadget-scripts"
|
|
PKG_VERSION="2.0"
|
|
PKG_DEPENDS_TARGET="umtp-responder"
|
|
PKG_SHORTDESC="Nintendo Switch USB Gadget scripts, and configs"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/{usr/bin,usr/lib/systemd/system/}
|
|
cp ${PKG_DIR}/assets/usb-gadget.sh ${INSTALL}/usr/bin/
|
|
sed -i "s/@DISTRO@/${DISTRO}/g" ${INSTALL}/usr/bin/usb-gadget.sh
|
|
chmod +x ${INSTALL}/usr/bin/usb-gadget.sh
|
|
cp ${PKG_DIR}/system.d/*.service ${INSTALL}/usr/lib/systemd/system/
|
|
|
|
#Enable Services
|
|
enable_service usb-gadget-setup.service
|
|
}
|
|
|