1
0
This repository has been archived on 2024-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tomáš Kelemen (vudiq) 4a4db97403 PiBoyDmg: build xpi-gamecon in kernel, adapt scripts
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>
2021-10-16 18:06:37 +02:00

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
}