How did the constellation Aquila get its name?

well to be honest with it was discovered because it is the second closest constellation next to mars. The first one is Scorpius. It was discovered by the gods dancing in a circle. How it was named was by the god Aquila (the eagle) who just wanted to kill small rodents.