As soon as commissioner David Stern uttered the words “tentative agreement’’ at 3:30 a.m. yesterday in the GM Building, and ended the nearly five-month-old NBA lockout, Chris Paul got a little closer to wearing a Knicks jersey.  Read more after the jump.

@Shay_Marie x @gametimegirl

Several elements in the tentative collective bargaining agreement impact the Knicks, relating to their ability to land Paul as a free agent in the summer of 2012 and mix him with Carmelo Anthony and Amar’e Stoudemire.

If approved by the owners, players and lawyers in the next week, training camp and free agency will begin Dec. 9, with the Knicks opening Stern’s 66-game season at the Garden on Christmas against the Celtics at noon. The reworked schedules will soon be announced, with most of the 16 games missed likely inter-conference games.

The Knicks’ 2011 free-agency will set the stage for 2012, with their strategy offering one-year contracts to protect 2012 cap space, armed with a $5 million mid-level exception.

As The Post reported earlier this month, the salary cap will be $58 million this season, with a chance to grow to $61 million in 2012. Early in the process, the owners sought a $45 million cap.

The only three Knicks players that will be signed for 2012 are Anthony, Stoudemire and rookie Iman Shumpert, which could leave the Knicks $20 million under the cap. That alone won’t give the Knicks maximum cap space to sign Paul, because they have to fit in a number of minimum-level players, but if the Knicks can get creative they may find enough to lure Paul, especially considering his desire to play here.

One helper in surrounding Paul with a better cast is a new $2.5 million exception given to under-the-cap teams to exceed the cap. For example, if they close to within $500,000 of the cap, they suddenly would have $2.5 million to spend without penalty.

Two parts of the new CBA, however, probably hurt the Knicks’ bid for Paul, including the continuance of the extend-and-trade. In a prior proposal, all extend-and-trade deals were abolished, meaning New Orleans would have only been allowed to deal Paul as a rental and he’d be assured of becoming a free agent.

The Knicks, short on trade pawns after the Anthony deal, would be in competition if there’s a Paul Sweepstakes this season. Also, taxpaying teams still will be allowed to do sign-and-trades next summer, giving them competition.

A CBA element good for the Knicks is the amnesty clause in which one player is designated to be waived and won’t count on the salary cap. The Knicks are expected to use Renaldo Balkman, as his contract extends into 2012, and that will open $1.7 million in space.

The lockout only increased Paul’s interest in New York. Paul, a member of the union’s executive committee, hung out frequently with Anthony in New York and in Manhattan board rooms with Knicks owner James Dolan. Dolan came across as the owner most willing to compromise.

Paul and Anthony were part of the group that was to stage a charity game at the Izod Center Dec. 10, but that will be postponed because Knicks camp opens the day before in Westchester.

”Just wanna say thank you to the fans for your patience and understanding through all this,’’ Anthony posted yesterday on Twitter.

The Board of Governors’ voting will take place in the next couple of days, and it will be an embarrassment if the agreement does not get the majority needed.

“We expect our Labor Relations Committee to endorse this deal,’’ Stern said.

After the vote, players will be allowed to talk to coaches and management and be let into the practice facilities early this week.

The owners budged on the 50-50 revenue split in the end to seal the deal. The owners presented the players with a more palatable 49-51 percent band. The players believe it gives them a legitimate shot at 51 percent if business is good.

NY Post