Heat oil in a wok. Add cumin seeds and when cumin seeds splutter put finely grinded onion, ginger, garlic, tomato and green chilli. Add salt, red chilli powder and turmeric powder and simmer on low flame till it turn thick and leaves the sides of wok.