b46ee1772a7ddc855fd8752159de2700.ppt
- Количество слайдов: 9
Build System & Demo Jonathan Fournier Senior Engineer – Linux Product Division jonathan. fournier@windriver. com 2009 -06 -03 Shenzhen, China 1
Presentation Outline • Tools every developers should know about when working with GNU-like projects • Current build philosophy for Open. SAF • Components of the build system • Demo • Upcoming improvements • Q&A 2
Tools you should know about • GNU Make • GNU Autoconf • GNU Automake • RPM All have very good documentation online (see references at the end) – Best examples are found by looking at the major packages on your distro 3
Current build philosophy • Trying to be distro independant as possible • Built to be customized when integrating Open. SAF as a package on various distros • Support simple builds and RPM packaging • If the current RPM packaging options aren't complete for your needs, it's easy to customize them 4
Component of the build system • • • configure. ac opensaf. spec. in Parent Makefile. am Childs Makefile. am Ant subsystem (for Java) 5
Demo • Native host build with Fedora Core 10 (interactive) • Cross-compiling build with Wind River Linux 3. 0 (automated) 6
Upcoming improvements • Nightly build on a virtual machine build farm (to covers major distros) • Nightly build for cross-compiling on multiple architectures • Yum server for the community • New package format (e. g. . deb) • New scripts for easier build and release management 7
Questions? 8
References • GNU Autoconf – http: //www. gnu. org/software/autoconf/manual/ autoconf. html • GNU Automake – http: //www. gnu. org/software/automake/ manual/automake. html • RPM – http: //docs. fedoraproject. org/drafts/rpmguide-en/ – http: //en. opensuse. org/SUSE_Build_Tut 9
b46ee1772a7ddc855fd8752159de2700.ppt