suffix opk name with emulator and platform

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2020-12-12 09:49:00 +01:00
parent aea9ff5548
commit 7df1959bd2
7 changed files with 12 additions and 12 deletions

View File

@ -67,7 +67,7 @@ endef
define FCEUX_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(FCEUX_PKGDIR)/opk/nes $(TARGET_DIR)/usr/games/opk/nes.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(FCEUX_PKGDIR)/opk/nes $(TARGET_DIR)/usr/games/opk/nes_fceux_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
FCEUX_POST_INSTALL_TARGET_HOOKS += FCEUX_CREATE_OPK

View File

@ -64,7 +64,7 @@ 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
$(HOST_DIR)/usr/bin/mksquashfs $(PCSX_REARMED_PKGDIR)/opk/ps1 $(TARGET_DIR)/usr/games/opk/ps1_pcsx_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
PCSX_REARMED_POST_INSTALL_TARGET_HOOKS += PCSX_REARMED_CREATE_OPK

View File

@ -73,7 +73,7 @@ endef
define POCKETSNES_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(POCKETSNES_PKGDIR)/opk/snes $(TARGET_DIR)/usr/games/opk/snes.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(POCKETSNES_PKGDIR)/opk/snes $(TARGET_DIR)/usr/games/opk/snes_pocketsnes_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
POCKETSNES_POST_INSTALL_TARGET_HOOKS += POCKETSNES_CREATE_OPK

View File

@ -45,8 +45,8 @@ GNUBOY_CONF_ENV += SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
define GNUBOY_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gb $(TARGET_DIR)/usr/games/opk/gb.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gbc $(TARGET_DIR)/usr/games/opk/gbc.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gb $(TARGET_DIR)/usr/games/opk/gb_gnuboy_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gbc $(TARGET_DIR)/usr/games/opk/gbc_gnuboy_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
GNUBOY_POST_INSTALL_TARGET_HOOKS += GNUBOY_CREATE_OPK

View File

@ -60,7 +60,7 @@ endef
define GPSP_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(GPSP_PKGDIR)/opk/gba $(TARGET_DIR)/usr/games/opk/gba.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(GPSP_PKGDIR)/opk/gba $(TARGET_DIR)/usr/games/opk/gba_gpsp_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
GPSP_POST_INSTALL_TARGET_HOOKS += GPSP_CREATE_OPK

View File

@ -46,11 +46,11 @@ MEDNAFEN_CONF_ENV += SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
define MEDNAFEN_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/gamegear $(TARGET_DIR)/usr/games/opk/gamegear.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/lynx $(TARGET_DIR)/usr/games/opk/lynx.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/ngp $(TARGET_DIR)/usr/games/opk/ngp.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/pce $(TARGET_DIR)/usr/games/opk/pce.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/wonderswan $(TARGET_DIR)/usr/games/opk/wonderswan.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/gamegear $(TARGET_DIR)/usr/games/opk/gamegear_mednafen_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/lynx $(TARGET_DIR)/usr/games/opk/lynx_mednafen_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/ngp $(TARGET_DIR)/usr/games/opk/ngp_mednafen_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/pce $(TARGET_DIR)/usr/games/opk/pce_mednaefn_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/wonderswan $(TARGET_DIR)/usr/games/opk/wonderswan_mednafen_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
MEDNAFEN_POST_INSTALL_TARGET_HOOKS += MEDNAFEN_CREATE_OPK

View File

@ -64,7 +64,7 @@ endef
define PICODRIVE_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(PICODRIVE_PKGDIR)/opk/megadrive $(TARGET_DIR)/usr/games/opk/megadrive.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(PICODRIVE_PKGDIR)/opk/megadrive $(TARGET_DIR)/usr/games/opk/megadrive_picodrive_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
PICODRIVE_POST_INSTALL_TARGET_HOOKS += PICODRIVE_CREATE_OPK