The San Francisco Giants have agreed to a Minor League deal with Gordon Beckham and extended a spring training invitation to the veteran as well.

If he makes the Major League roster, Beckham will earn $1.25 million.

The Giants acquired Beckham in a trade with the Atlanta Braves last Sept. 27 for the season's final week, when second baseman Eduardo Nunez was injured.