From Middle English etlyng, atlyng, equivalent to ettle + -ing.
Equivalent to ettle("to earn") + -ing.