c. 1200, from great + -ly (2). Similar formation in Middle Dutch grotelike, Dutch grootelijks.
he improved greatly
greater
greatest
great-grandfather
great-grandmother
great-hearted
greatly
greatness
great-uncle
greave
greaves
grebe