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:
@@ -58,4 +58,10 @@ define GPSP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0644 $(@D)/game_config.txt $(TARGET_DIR)/usr/games/game_config.txt
|
||||
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
|
||||
endef
|
||||
GPSP_POST_INSTALL_TARGET_HOOKS += GPSP_CREATE_OPK
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
12
FunKey/package/gpsp/opk/gba/gba.funkey-s.desktop
Normal file
12
FunKey/package/gpsp/opk/gba/gba.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GameBoy Adv
|
||||
Comment=Game Boy Advance Emulator
|
||||
Icon=gba
|
||||
Exec=/usr/games/launchers/gba_launch_gpsp.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/Game Boy Advance
|
||||
SelectorFilter=gba,GBA
|
||||
BIN
FunKey/package/gpsp/opk/gba/gba.png
Normal file
BIN
FunKey/package/gpsp/opk/gba/gba.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 397 B |
Reference in New Issue
Block a user