mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 06:51:22 +00:00
the module is required also during update process, having it as external module leads to an unexpected shutdown of the device during the update process, which leads to potential corruption of file system. Co-authored-by: David Lawson <dmrlawson@gmail.com> Co-authored-by: Tomáš Kelemen <vudiq@vudiq.sk>
18 lines
462 B
Makefile
18 lines
462 B
Makefile
PKG_NAME="xpi_gamecon"
|
|
PKG_LICENSE="GPL"
|
|
PKG_DEPENDS_TARGET="toolchain linux"
|
|
PKG_NEED_UNPACK="${LINUX_DEPENDS}"
|
|
PKG_LONGDESC="xpi_gamecon driver for PiBoyDMG"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp -v ${PKG_DIR}/scripts/piboy-dmg-control.sh ${INSTALL}/usr/bin/
|
|
}
|
|
|
|
post_install() {
|
|
enable_service xpi_gamecon_reboot.service
|
|
enable_service xpi_gamecon_shutdown.service
|
|
enable_service piboy-dmg-control.service
|
|
}
|