Updating Moblin SDK sysroot contents

Owners: Haitao Feng, Kevin Wang

A developer could update the contents of the Moblin SDK sysroot by installing new components (header files, libraries, etc) needed for application development

Update sysroot contents

Currently, if a developer wants to use extra development packages or components they need to manually add the header files, libraries and pkgconfig files into the sysroot. This method may be improved in the future.

For example: we have a "xxx-devel-1.0.rpm" in "rpm_temp" directory, we need to extract the devel package and copy all files to the corresponding path in the sysroot of the SDK:

$ cd rpm_temp
$ rpm2cpio xxx-devel-1.0.rpm | cpio -idv
$ cp -r usr/* ~/moblin-sdk-${version}/moblin-cross-toolchain/i586-moblin-linux/sys-root/usr/