Cut the eggplant, onion, and carrot into bite-sized pieces.
Add cooking oil to a pan and sauté the onion and carrot.
Add the eggplant and stir-fry.
Season with soy sauce, sugar, and minced garlic.
Pour in some water or broth and simmer briefly.
Serve the sautéed eggplant mixture over rice to finish.