added several patches to make packages compile for the foxboard

No match.