summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 931] - Removed ↵Scott Rifenbark2011-03-251-11/+0
| | | | | | | | | | Fedora 14 bitbake native note [BUGID# 931] - I have removed the Note indicating that the user must run 'bitbake make-native' if running Fedora 14. This is no longer a requirement for YP Release 1.0 Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: Bug reference added ↵Scott Rifenbark2011-03-251-2/+4
| | | | | | | | | | | | | | | | | courtesy Colin Walters In the Quick Start there is a note indicating that you should run 'bitbake make-native' followed by 'bitbake poky-image-sato' if you are running Fedora 14 or another distribution that ships with GNU. Colin Walters submitted a patch that offerred an URL for further explanation on a Make Bug. The URL is http://www.mail-archive.com/bug-make@gnu.org/msg06220.html. Rather than submit Colin's patch verbatim I updated the note to include the reference with a little different wording. This extra information submitted by Colin will be very helpful. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* README.hardware: add Freescale MPC8315E-RDB; other minor tweaksPaul Eggleton2011-03-251-1/+69
| | | | | | | | | * Add Freescale MPC8315E-RDB instructions (based on Wind River README passed on by Bruce Ashfield) * Add short info paragraph for RouterStation Pro (to match BeagleBoard) * Add example for connecting to RouterStation Pro serial console with picocom Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qemu: Upgrade 0.13.0 -> 0.14.0Khem Raj2011-03-2524-927/+544
| | | | | | | | | | * ppc-hack patch is dropped. * Other patches which were direct backports or has been merged upstream in 0.14.0 are also dropped Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnutls: add BBCLASSEXTEND = nativeKoen Kooi2011-03-251-0/+2
| | | | | | | This is needed for the native recipes in meta-efl Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to 2.6.37.5Bruce Ashfield2011-03-251-12/+12
| | | | | | | | | | | | | The 2.6.37.5 -stable update is available, so it now becomes the new base for linux-yocto. All qemu targets have been built and booted. Changelog is available via: git log --pretty=oneline --abbrev-commit v2.6.37.3..v2.6.37.5 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard ↵Richard Purdie2011-03-242-7/+9
| | | | | | EXTRA_IMAGECMD Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/image.bbclass: Move image type information into image_types.bbclassRichard Purdie2011-03-243-62/+82
| | | | | | | | | | | | | Image generation code in .conf files is hard to read as it needs to be single line. By moving this to a separate class, multiline functions can be used instead improving readability. It also declutters bitbake.conf. There is no real functional change with this patch but it highlights the need for improvements in places such as the IMAGE_EXTRA_OPTION ext* specific variable which makes no sense. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove sysctl.conf file. This is now provided by the procpc recipe.Richard Purdie2011-03-242-31/+0
| | | | | | | | The base-files version is horribly outdated too. [YOCTO #924] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Move ROOTFS_SIZE into runimagecmd() functionRichard Purdie2011-03-241-1/+1
| | | | | | | | | | Image type specific size overrides for IMAGE_ROOTFS were being ignored. Moving the size calculation to after the overide expansion point addresses this problem. [YOCTO #928] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Improve readability of the image generation codeRichard Purdie2011-03-241-7/+13
| | | | | | | The quoting in get_imagecmds() is hard to read. We can simplify the constuction a little to make this easier to parse and reduce complexity slightly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: use only unique set of SSTATETASKMartin Jansa2011-03-241-2/+2
| | | | | | | | | | | | | | | | | * otherwise strange error like this: ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/armv7a-oe-linux-gnueabi/libtool-cross-2.4-r1/temp/log.do_package_write_ipk.25551 Log data follows: | ERROR: Package already staged (/OE/shr-core/tmp/sstate-control/manifest-nokia900-libtool-cross.deploy-ipk)?! | ERROR: Function 'sstate_task_postfunc' failed NOTE: package libtool-cross-2.4-r1: task do_package_write_ipk: Failed ERROR: Task 11 (/OE/shr-core/openembedded-core/meta/recipes-devtools/libtool/libtool-cross_2.4.bb, do_package_write_ipk) failed with exit code '1' is shown in this case with package_ipk twice in INHERIT * Thanks to Richard for fix Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: blacklist 'kernel-misc' from kernel-modulesKoen Kooi2011-03-231-1/+1
| | | | | | | | | | When 'kernel-misc' is empty do_rootfs will fail when including 'kernel-modules' The proper fix would be to have a whitelist for the 'kernel-modules' meta-pkg Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Tested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dupsKhem Raj2011-03-231-1/+6
| | | | | | | GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header so we eliminate -feliminate-dwarf2-dups for gcc-runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
* machine/include/tune-atom.inc: Remove FULL_OPTIMIZATION_pn-gtk+Khem Raj2011-03-231-4/+0
| | | | | | | * Since bitbake.conf has got rid of -fomit-frame-pointer this is no longer required Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bitbake.conf: Prune global OPTIMIZATION flagsKhem Raj2011-03-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | -fexpensive-optimizations is enabled by default at -O2 -fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon architecture if debug info is not hurt -frename-registers - This might have some performance advantage on top of O2 on architectures which have more registers and registers are left after scheduling but it affects debuggability quite a bit so as a i tradeoff we do not use it. -feliminate-dwarf2-dups - We use this option to reduce the size of debug information by removing duplicates this is only valid for dwarf2+ and we use dwarf2 by default -pipe uses buffers instead of temporary files internally it can speed up compilation it has has issues with other assemblers but not with GNU assembler and we use gas. Separate out debug information related flags into a separate variable DEBUG_FLAGS so distros can use/notuse them as they like Signed-off-by: Khem Raj <raj.khem@gmail.com>
* coreutils: Switch to disabling gmp supportTom Rini2011-03-231-2/+4
| | | | | | | Coreutils can optionally build with libgmp support and for our uses it's fine to just not build it rather than add the dependency. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* checksums.ini: DeleteTom Rini2011-03-231-15076/+0
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to SOURCEFORGE_MIRRORTom Rini2011-03-232-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-2322-22/+22
| | | | | | | | In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to KERNELORG_MIRRORTom Rini2011-03-2312-12/+12
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-2312-22/+22
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* Various: Switch to GNOME_MIRRORTom Rini2011-03-239-9/+9
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* net-tools: Switch to using DEBIAN_MIRRORTom Rini2011-03-231-2/+2
| | | | Signed-off-by: Tom Rini <tom_rini@mentor.com>
* perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alphaKhem Raj2011-03-232-4/+10
| | | | | | | | | | | | | | | | Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and /lib/${arch}-linux-gnu so we need that to be added to glibpth in Configure. Currently we set LD=ld in environment for recipes inheriting native class. This overrides the LD settings in the Makefiles of perl and it tries to link by calling ld which does not work since its using -l<x> on commandline and ubuntu linker seems not to look into the new location for these libraries. Its better to use gcc for linking here anyway [With tweak from Tom Rini to use CCLD, not LD] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scripts/poky-qemu-internal: Add rw to KERNCMDLINE for non nfs boots as wellKhem Raj2011-03-211-5/+5
| | | | | | | Without using rw the ext3 images boot the kernel but do not spawn the console at the end Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scripts/poky-qemu-internal: Pass -m <mem_size> always on commandlineKhem Raj2011-03-211-15/+17
| | | | | | | | | | | There is a nasty bug in qemu 0.14.0 where it over writes device memory if the default sizes was not specified on commandline. It can be worked around by this patch. I also simplified the memory size calculation logic a bit so we append 'M' to QEMU_MEMORY at the very end instead of sed'ing it afterwards Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lib/oe/patch.py: Cosmetic change to avoid bitbake warningKhem Raj2011-03-211-1/+1
| | | | | | bb.mkdirhier should be bb.utils.mkdirhier Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oe.utils: add inherits (sync from OE)Chris Larson2011-03-211-0/+4
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.path: sync up with current OEChris Larson2011-03-211-7/+14
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.patch: add missing importsChris Larson2011-03-211-0/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.utils: add bb, bb.data importsChris Larson2011-03-211-0/+2
| | | | | | | While the metadata can and should rely on bb always being available, this needn't necessarily be the case for imported python modules. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Shift a few env bits into scripts/bitbakeChris Larson2011-03-212-3/+5
| | | | | | | | | | | This attempts to separate the bits we *require* to run bitbake with oe-core via the wrapper script, and which are independent of the build environment (PSEUDO_DISABLED, PSEUDO_BUILD, BBFETCH2) from those which are more particular to poky-init-build-env's way of setting things up (e.g. adding MACHINE to BB_ENV_EXTRAWHITE, relying on OEROOT, etc). This should make it easier to use scripts/bitbake with non-standard workflows. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* scripts/bitbake: add -g/--graphviz to NO_BUILD_OPTSChris Larson2011-03-211-1/+1
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* native: empty PACKAGES_DYNAMIC the way we do PACKAGESChris Larson2011-03-211-0/+2
| | | | | | | | | Without this, as a specific example, one has both gtk+-native and gtk+ runtime providing gdk-pixbuf-loader-*, and you can get bitbake preference conflicts as a result if you have preferences specified for both gtk+ and gtk+-native for other things. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* poky-init-build-env: unbork for zshChris Larson2011-03-211-1/+1
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OEMartin Jansa2011-03-211-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie2011-03-2115-15/+16
| | | | | | | | | | | | | | | | | | | There is a problem with the current PACKAGE_EXTRA_ARCHS implementation since its impossible to control which extra architectures sort higher than TARGET_ARCH and which sort lower. In the x86 case for example, TARGET_ARCH might be "i586", i486 should be lower than this and i686 should be higher. There are also complications where its easy to inject duplicate entries into the variable. I tried various versions of this patch and concluded that it was simplest just to force the tune files to include TARGET_ARCH in the list in the right place if they're planning to customise it themselves. Other approaches with appends and prepends just complicated the code for no good reason. The TARGET_ARCH definitions should also move to the tune files but I'll leave this for a separate patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/bbclass: rework kernel and module classes to allow for building ↵Darren Hart2011-03-213-64/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-tree modules The existing infrastructure uses an external build tree which references the kernel source in the work dir. If run with rm work, building external modules will fail. This patch places a configured source tree in sysroots. Striking a balance between minimal size and minimal maintenance is difficult. A fully configured tree is about 500MB after a clean. This version leans on the side of caution and removes only the obviously unecessary parts of the source tree to conserve space, resulting in about 170MB. The arch directories would be some additional pruning we could do. Given examples from the devel package from distributions, I suspect this size could be reduced to 75MB or so, but at the cost of a much more complex recipe which is likely to require a great deal more maintenance to keep current with kernel releases. Care is also taken to clean the hostprogs in scripts, and the modules are responsible for building them as needed. Although it is unclear to me if this is really necessary, especially considering that modules put these bits back as soon as they compile. If we are not generating an sstate package, I suspect we can ignore these. Please try this with your modules and let me know how it does. I tried to take non linux-yocto kernel recipes into account, but I have only tested with linux-yocto and the hello-mod recipe so far. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* msmtp: add link sendmail for lsb command checkKang Kai2011-03-211-2/+7
| | | | | | | | | LSB command check will test the exist of sendmail, so make sendmail link to msmtp using update-alternatives class in order to pass the test. Related to [YOCTO #520] Signed-off-by: Kang Kai <kai.kang@windriver.com>
* qemu: enabling the alsa driver needs alsa in DEPENDS, add itKoen Kooi2011-03-211-1/+1
| | | | | | | | | | | | This fixes: | + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370 | | Error: alsa check failed | Make sure to have the alsa libs and headers installed. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: extend to -native for qemu-nativeKoen Kooi2011-03-211-0/+2
| | | | | | | Qemu-needed is needed for the qemu* machines to build, but needs alsa-lib Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: Mark as machine specific after recent rootless X changesRichard Purdie2011-03-191-1/+1
| | | | | | | | Fix summplied by ke.yu@intel.com [YOCTO #906] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Ensure a clean removes setscene stamps as well as the main task stampsRichard Purdie2011-03-191-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* [BUGID# 873] - documentation/poky-ref-manual: Notes added for non-GPLv3 buildsScott Rifenbark2011-03-182-1/+18
| | | | | | | | | | | | | [BUGID# 873] - Added a note in the Images Appendix indicating that building an image without GPLv3 components is only supported for base and minimal images. Also put the two changes you have to do to the local.conf file for the build. Added a note in the second chapter in the section on building images. The note indicates the same as in the appendix but does not go into the local.conf file detail. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* qemu: make warning messages consistent in formatDarren Hart2011-03-181-8/+9
| | | | | | | | | | Try to make the output of the qemu script a bit more consistent by using the same format for the various warning messages: WARNING: description of warning. Detailed description of warning, actions taken, and/or instructions to user. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* qemu: warn user if nVidia libGL is detected (leads to qemu segfault)Darren Hart2011-03-181-1/+13
| | | | | | | | | | | | | | | | nVidia's OpenGL libraries are known to have compatibility issues with qemu, resulting in a segfault. As different workarounds are required for the different distributions, just warn the user to explain the qemu segfault to follow, and suggest a workaround using LD_PRELOAD. [YOCTO #649] [YOCTO #698] (Original patch from Edwin, Darren modified warning and git commit wording) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Mark Hatle <mark.hatle@windriver.com> CC: Zhai Edwin <edwin.zhai@intel.com>
* db: Fix path of arm-thumb patchMark Hatle2011-03-182-5/+8
| | | | | | | | | | | Newer versions of patch, such as in Fedora 14, don't like ".." within the middle of the file to be patched path. In order to fix the issue we have to hand apply the patch instead of using the normal mechanisms. Only flaw with the os.system(...) approach is if it fails we don't get any notification or a resolver failure. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* initscripts: Make umountfs a bit more robust, bump PRTom Rini2011-03-182-4/+4
| | | | | | | | Avoids error messages on shutdown. Imported from OE commit 072cad0100fd828e7fee8f3fa3ade23e4306b394 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* nfs-utils: fix "sh: bad number" error on start/stop of nfsserverPaul Eggleton2011-03-181-1/+1
| | | | | | | | Adds a test to avoid the "sh: bad number" error message during service start or stop of nfsserver when there is no NFS_SERVERS value set in /etc/default/nfsd. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>