mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
create opk during build
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=MegaDrive
|
||||
Comment=Sega Genesis/MegaDrive Emulator
|
||||
Icon=megadrive
|
||||
Exec=/usr/games/launchers/megadrive_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/Sega Genesis
|
||||
SelectorFilter=zip,ZIP,md,MD
|
||||
BIN
FunKey/package/picodrive/opk/megadrive/megadrive.png
Normal file
BIN
FunKey/package/picodrive/opk/megadrive/megadrive.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -62,5 +62,10 @@ define PICODRIVE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/PicoDrive $(TARGET_DIR)/usr/games/
|
||||
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
|
||||
endef
|
||||
PICODRIVE_POST_INSTALL_TARGET_HOOKS += PICODRIVE_CREATE_OPK
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user