export: Add build-tree CPS support

Add Common Package Specification support to export(EXPORT).
91 files changed