Wayne appeared in court via a video hookup from New York, where he has been jailed since March after pleading guilty to attempted criminal possession of a weapon.
James Tilson, Carter's Arizona attorney, said he was pleased with the court's action.
"We're quite glad that we were able to wrap everything up," Tilson told Reuters. "It's a favorable plea agreement that will allow Mr. Carter to pursue his career."
Carter will begin his Arizona probation following his New York sentence, Tilson said.
The rapper's tour bus, carrying 11 others, was stopped and searched by Border Patrol authorities after they said they were alerted by a drug-sniffing dog. Agents found nearly four ounces of marijuana, an ounce of cocaine, 41 grams of Ecstasy and a .40-caliber pistol registered to Carter.
Carter, whose album "Tha Carter III" was the biggest-selling U.S. release of 2008 and won him best rap album and three other prizes at the 2009 Grammy Awards. His album "Rebirth" was released on February 2 after delays and largely negative reviews.
(Editing by Bob Tourtellotte)
COPYRIGHT: (c) Reuters 2010. All rights reserved. Republication or redistribution of Reuters content, including by caching, framing or similar means, is expressly prohibited without the prior written consent of Reuters. Reuters and the Reuters sphere logo are registered trademarks and trademarks of the Reuters group of companies around the world.