Heat the oil in a pan and roast all the ingredients until golden brown. Take care that it doesn't get burnt. Cool it and powder it in a food processor.
Store in air tight container for future use.
It is an excellent side dish for dosa and idli when taken with ghee, coconut oil or sesame oil.