config BR2_PACKAGE_LIBRETRO_MGBA
        bool "libretro-mgba"
	depends on BR2_PACKAGE_RETROARCH
	depends on BR2_INSTALL_LIBSTDCPP
        help
          libretro mgba core.

	  http://www.libretro.com

comment "LIBRETRO_MGBA needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP
