Roast the aubergines whole over a flame until the skin blackens and the flesh softens, then peel and mash.