Chop the eggplant into one inch cubes and set aside in a bowl of water. This is to prevent the eggplant turning brown and potentially going bitter
Heat 1 teaspoon oil in a pan and add the mustard seeds
When the mustard seeds start to pop, add the eggplant pieces, making sure to squeeze out the water as much as possible
Saute until the brinjal pieces soften and turn a light brown.
Remove to a plate and set aside to cool.
In the same pan, add one more teaspoon oil, slice and add the green chilli, dry red chilli (if using) and ½ teaspoon urad dal.
Saute until the dal turns golden brown.
Place this and the cooled eggplant, tamarind, and some salt in a mixie jar and blend to an almost smooth paste. The moisture from the eggplant should be enough to get it going.
Heat another teaspoon of oil in the same pan as before (this is clearly a one-pan chutney recipe) and add the sliced shallots/onions, asafoetida, and the remaining ¼ teaspoon urad dal
When the dal turns golden brown, add the curry leaves and the blended brinjal chutney paste
Mix well and add more salt if needed. Let it cook for a minute or so until everything heats up nicely and remove from fire
Serve with rice, dosa, or chapati