cut the eggplant into small cubes. heat the olive oil in a frying pan on medium heat, add the diced onion, garlic, cubed eggplant and stock, sprinkle with salt and pepper. allow to cook for approximately 15-20 minutes until all of the eggplant has become soft and the liquid has been absorbed.