summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-mklibs.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* image-mklibs/package_ipk: Remove bashismsRichard Purdie2012-01-051-1/+1
| | | | | | | | | We now support using dash but these bashisms triggered build failures for me when using it. This replaces the code with something which works on dash. (From OE-Core rev: 4a85312568a6bb052cc511c15b4ae842ff7f8e59) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-mklibs.bbclass: Utilize ${base_libdir} instead of static /libKumar Gala2011-08-051-4/+4
| | | | | | | | | We might redefine ${base_libdir} from being set to just /lib. (From OE-Core rev: 7615f81f86bb5ccfe52b84b38eb9ae80a852d214) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-mklibs.bbclass: Add powerpc64 arch supportKumar Gala2011-08-051-0/+3
| | | | | | | | | powerp64 dynamic loader is 'ld64.so.1'. (From OE-Core rev: ef6007cf129a6eec71e1cbb1c65efc8bfd3991e0) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-mklibs: add microblaze arch supportAdrian Alonso2011-05-101-1/+1
| | | | | | | | | | | * In function mklibs_optimize_image_doit * Add microblaze arch case for setting the dynamic_loader used by "mklibs" call (From OE-Core rev: 473314d9978dfee53cddc45e4ee1863266eb01e1) Signed-off-by: Adrian Alonso <aalonso@secretlab.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-mklibs.bbclass: add the library optimization functionalityNitin A Kamble2011-02-091-0/+69
If you want to enable the mklibs library size optimization for your image then, edit the MKLIBS_OPTIMIZED_IMAGES line in the local.conf like this: MKLIBS_OPTIMIZED_IMAGES ?= "poky-image-minimal your-own-image" Also this will enable the mklibs library size optimization for all images. MKLIBS_OPTIMIZED_IMAGES ?= "all" on qemux86 machine this reduced the rootfs size of poky image-minimal image from 7.9MB to 7.2MB. That is around 11% image foot print reduction. That image had 38 elf executables. Generally the size optimization by mklibs is reversely proportional to the number of elf executables in the rootfs. So bigger images will see less optimization, and smaller images will see large image size reductions. Thanks to mark hatle for his help in implementation of this. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>