Etymology
Today it means: In an inessential way. Full definition →
From inessential + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.