Originally meant
From Latin uniformis, from unus 'one' + forma 'shape, form', literally 'having one form'; it passed through French uniforme into English.
Background
English first records uniform as an adjective in the 16th century; the clothing noun developed later, in the early 18th century. It is cognate with words built on the same Latin elements in Romance languages, such as French uniforme and Italian uniforme.