FLORHAM PARK, N.J. -- The New York Jets have signed veteran quarterback Matt Flynn, adding depth to the position with Geno Smith sidelined six to 10 weeks with a broken jaw.

Flynn took a physical with the Jets last Friday, but didn't work out for the team. The 30-year-old Flynn, who was dealing with a hamstring issue, was released by New England last week.

The Jets announced the signing Wednesday, a day after general manager Mike Maccagnan said the team would look into acquiring a veteran to back up starter Ryan Fitzpatrick. Smith was injured last week when then-teammate Ikemefuna Enemkpali punched him in the locker room.

More from FoxSports

Flynn has also been with Green Bay (twice), Seattle, Oakland and Buffalo.

To make room, the Jets waived wide receiver Arthur Williams.