Aaron Boone made some T-shirt company rich Thursday.

But the Yankees manager got his own money’s worth after getting ejected from the first game of a doubleheader sweep — sticking up for his players and telling the home plate umpire, among other things, he felt bad for him — before watching the rest of the Yankees’ 6-2 win over the Rays from his office.

“Just a big game and felt like some things weren’t going our way there early,” Boone said. “I felt like it needed to be known.”

After a number of Yankees were upset by home plate umpire Brennan Miller’s strike zone, Boone finally took the charge in the bottom of the second inning. He was barking from the dugout and got tossed before running out and giving Miller an earful.

“You’re having a piece of s- -t start to this game,” Boone could be heard saying on the YES Network broadcast. “I feel bad for you, but f—ing get better. That guy [Rays starter Yonny Chirinos] is a good pitcher, but our guys are f—ing savages in that box. Our guys are savages in the f—ing box. Tighten it up right now, OK?

“Tighten this s- -t up,” Boone added, with a clap in between each word, to end his epic rant.

It won’t be long before Boone’s “f—ing savages” quote is being printed on T-shirts.

Luke Voit said Boone has been calling them savages all year — “We are savages,” added Voit, who gave the performance an A-plus. Voit, Aaron Judge and Domingo German all said they “loved it.”

“Sometimes in the heat of the battle, you just kind of utter some things,” Boone said.

DJ LeMahieu had just taken a called strike outside of the zone, which appeared to be the tipping point. One batter earlier, Brett Gardner was called out on strikes on another questionable pitch. Seconds later, Gardner used his bat to repeatedly pound the shelving where the helmets are stored and then the roof of the dugout to express his displeasure.

“I can’t throw my helmet anymore, so just making noise,” said Gardner, who last month in the dugout threw his helmet, which came back to hit him in the lip and required six stitches. “Just being me, I guess.”

Gardner was among the Yankees applauding Boone when he walked off the field following the ejection, his third of the season. Crew chief

Gerry Davis told a pool reporter Boone “absolutely” went too far with the cursing. Miller, meanwhile, was umping his fifth career MLB game behind the plate.

“I certainly didn’t want anyone else getting tossed,” Boone said. “We were pretty heated there, several of our guys in the first couple innings.”

Gardner said he didn’t think he would have been ejected if Boone hadn’t taken the fall, but appreciated his manager standing up for him.

“It’s good to see. It gets us fired up,” Gardner said. “… I definitely think it’s one of those things that doesn’t go unnoticed.”