Put a kadai on flame add oil then put ginger garlic and cumin seeds and then put chopped onion and cook for two minutes then add chopped tomatoes and cook it on for five minutes then add coriander powder and red chilli powder and stir it then add mashed brinjal, put salt and green chilli, cover the lid and cook it for some time.