Heat oil in a pan and when hot, add in all your spices. The pesky poppy seeds will want to pop out of your pan so work fast to stir the mixture.
Stir until all spices are aromatic and well browned. Be careful not to burn. If in doubt, remove early as under-toasted is better than burned and bitter.
Remove quickly from the pan, spread on a plate or paper towel and let everything cool. Grinding when hot will result in a paste.
Once cool, use a coffee grinder to grind into a homogenous mixture.