When did Edom emerge?

Did the Iron Age kingdom of Edom emerge in the 10th century BCE from a nomadic polity that developed sophisticated copper production and social complexity, or was it formed much later, in the late 8th century BCE, as a result of the impact of the Assyrian empire on settlement, agriculture, and trade?