create opk during build

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-11 23:37:33 +01:00
parent 8e15b18a5c
commit bb0f2b4302
48 changed files with 194 additions and 91 deletions

View File

@@ -62,4 +62,10 @@ define PCSX_REARMED_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/pcsx $(TARGET_DIR)/usr/games/pcsx
endef
define PCSX_REARMED_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(PCSX_REARMED_PKGDIR)/opk/ps1 $(TARGET_DIR)/usr/games/opk/ps1.opk -all-root -noappend -no-exports -no-xattrs
endef
PCSX_REARMED_POST_INSTALL_TARGET_HOOKS += PCSX_REARMED_CREATE_OPK
$(eval $(generic-package))

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Name=PS1
Comment=PS1 Emulator
Icon=ps1
Exec=/usr/games/launchers/psone_launch_pcsx.sh
Terminal=false
X-OD-NeedsDownscaling=true
Categories=emulators;
selectorbrowser=true
SelectorDir=/mnt/PS1
SelectorFilter=bin,BIN,cue,CUE,pbp,PBP

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB