Advertisement
Guest User

Same core and emulator

a guest
Apr 16th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. ################################################################################
  2. #
  3. # recalbox-romfs-dreamcast
  4. #
  5. ################################################################################
  6.  
  7. # Package generated with :
  8. # ./scripts/linux/empack.py --system dreamcast --extension '.gdi .GDI .cdi .CDI .chd .CHD' --fullname 'Sega Dreamcast' --platform dreamcast --theme dreamcast reicast:reicast:BR2_PACKAGE_REICAST reicast:reicast:BR2_PACKAGE_REICAST_OLD
  9.  
  10. # Name the 3 vars as the package requires
  11. RECALBOX_ROMFS_DREAMCAST_SOURCE =
  12. RECALBOX_ROMFS_DREAMCAST_SITE =
  13. RECALBOX_ROMFS_DREAMCAST_INSTALL_STAGING = NO
  14. # Set the system name
  15. SYSTEM_NAME_DREAMCAST = dreamcast
  16. SYSTEM_XML_DREAMCAST = $(@D)/$(SYSTEM_NAME_DREAMCAST).xml
  17. # System rom path
  18. SOURCE_ROMDIR_DREAMCAST = $(RECALBOX_ROMFS_DREAMCAST_PKGDIR)/roms
  19.  
  20. # CONFIGGEN_STD_CMD is defined in recalbox-romfs, so take good care that
  21. # variables are global across buildroot
  22.  
  23.  
  24. ifneq ($(BR2_PACKAGE_REICAST)$(BR2_PACKAGE_REICAST_OLD),)
  25. define CONFIGURE_MAIN_DREAMCAST_START
  26. $(call RECALBOX_ROMFS_CALL_ADD_SYSTEM,$(SYSTEM_XML_DREAMCAST),Sega Dreamcast,$(SYSTEM_NAME_DREAMCAST),.gdi .GDI .cdi .CDI .chd .CHD,dreamcast,dreamcast)
  27. endef
  28.  
  29. ifneq ($(BR2_PACKAGE_REICAST)$(BR2_PACKAGE_REICAST_OLD),)
  30. define CONFIGURE_DREAMCAST_REICAST_START
  31. $(call RECALBOX_ROMFS_CALL_START_EMULATOR,$(SYSTEM_XML_DREAMCAST),reicast)
  32. endef
  33. ifeq ($(BR2_PACKAGE_REICAST_OLD),y)
  34. define CONFIGURE_DREAMCAST_REICAST_REICAST_DEF
  35. $(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_DREAMCAST),reicast)
  36. endef
  37. endif
  38.  
  39. define CONFIGURE_DREAMCAST_REICAST_END
  40. $(call RECALBOX_ROMFS_CALL_END_EMULATOR,$(SYSTEM_XML_DREAMCAST))
  41. endef
  42. endif
  43.  
  44.  
  45.  
  46. define CONFIGURE_MAIN_DREAMCAST_END
  47. $(call RECALBOX_ROMFS_CALL_END_SYSTEM,$(SYSTEM_XML_DREAMCAST),$(SOURCE_ROMDIR_DREAMCAST),$(@D))
  48. endef
  49. endif
  50.  
  51. define RECALBOX_ROMFS_DREAMCAST_CONFIGURE_CMDS
  52. $(CONFIGURE_MAIN_DREAMCAST_START)
  53. $(CONFIGURE_DREAMCAST_REICAST_START)
  54. $(CONFIGURE_DREAMCAST_REICAST_REICAST_DEF)
  55. $(CONFIGURE_DREAMCAST_REICAST_END)
  56. $(CONFIGURE_MAIN_DREAMCAST_END)
  57. endef
  58.  
  59. $(eval $(generic-package))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement