Etymology
Today it means: In the manner of a sergeant major. Full definition →
From sergeant major + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.