Preheat the oven to 400°F [200°C]. In an ovenproof pan or pot, heat several glugs of olive oil over medium heat. Briefly fry the garam masala until fragrant, 1 to 2 minutes. Add the onion, garlic, and ginger and a couple of pinches of salt. Turn the heat to low and sweat the onions unt