summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Revise stripping and splitting of debug informationMark Hatle2011-03-014-30/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | We now support two styles of debug information generation, the '.debug' style, which is the same as previously implemented. This style simply splits the debug information and makes it available in the same general directory. /bin/foo -> /bin/.debug/foo The new 'debug-file-directory' style splits the debug information and places it into the single debug-file-directory, /usr/lib/debug: /bin/foo -> /usr/lib/debug/bin/foo.debug Both also find and copy all referenced source code to a new /usr/src/debug directory. This allows the -dbg files to be used for stand-a-lone debugging on or off the target device. File stripping is now handled as a seperate operation from file splitting. This allows us to split the debug information, but also leave it in the original file -- or prevent the debug information from being split. Also enhance the comments within local.conf.sample to provide a better understanding of the control the user has over debug file generation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* poky-image-lsb-sdk.bb: add image for LSB SDK BuildSaul Wold2011-03-011-0/+9
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: Added Copyright datesScott Rifenbark2011-03-011-0/+1
| | | | | | | | | | | | Added "Copyright 2010-2011 Linux Foundation" under the title. For now this will have to do. Once we get the converted website up I would like to see all manuals displayed as HTML files within the context of the site layout. At that point we can have a copyright and trademark stuff in a persistent footer. [BUGID #696] Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/kernel-manual/kernel-manual.xml: Updated copyright dateScott Rifenbark2011-03-011-1/+1
| | | | | | Changed the copyright date from "2010" to "2010-2011". Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/bsp-guide/bsp-guide.xml: Updated copyrightScott Rifenbark2011-03-011-1/+1
| | | | | | Changed copyright date from "2010" to "2010-2011" Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/poky-ref-manual.xml: updated copyright dateScott Rifenbark2011-03-011-1/+1
| | | | | | Changed the copyright upper date from 2010 to 2011. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* Emenlow Removal from Poky Core: meta-emenlowBeth Flanagan2011-03-0167-9380/+2
| | | | | | | | Removing Emenlow from poky core as it is now in meta-intel as a BSP layer [BUGID #769] Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
* poky-qemu: handle cases where an nfs directory contains -image-Scott Garman2011-03-011-0/+6
| | | | | | | | | | Previously we mistakenly assumed that any argument which contained *-image-* was the name of a rootfs image file. This allows nfs directory paths to work correctly when they contain this substring. This fixes [BUGID #743] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* libuser: enable documentationScott Garman2011-03-012-23/+4
| | | | | | | | | | | | | | Added popt to DEPENDS. This fixes the following build error: apps/luserdel.c:25:18: fatal error: popt.h: No such file or directory Remove patch and configure flag which had disabled doc generation Add docbook-utils-native and linuxdoc-tools-native to DEPENDS This fixes [BUGID #213] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* linuxdoc-tools-native: new recipe v0.99.6Scott Garman2011-03-012-0/+70
| | | | | | | | This package includes utilities such as sgml2html and sgml2txt, which are used by other packages (e.g, libuser) for building documentation. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* package.bbclass: Ensure dependency version information is preservedRichard Purdie2011-03-011-15/+17
| | | | | | [BUGID #176] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Use hard link for package split instead of copyDongxiao Xu2011-03-011-12/+3
| | | | | | | | | | | When doing package split, we use hard link instead of copy, which can save about 10% disk space when building poky-image-minimal. If fail, it will fall back to the copyfile function. [Updated by Richard to use os.link and avoid an exec() call per file] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* dropbear: add SRC_URI checksumsJoshua Lock2011-03-011-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package.bbclass: Unbreak per file dependencies and blacklist doc packagesRichard Purdie2011-03-011-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: disable build of faq and tutorial docsScott Garman2011-03-012-30/+16
| | | | | | | | | Joshua Lock noted that these problematic doc builds have been removed upstream, and they are really superfluous for embedded builds. This fixes [BUGID #741] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Suppress useless warnings during udev startupGary Thomas2011-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a number of platforms which have no realtime clock (i.e. no sense of what day/time it is). On these platforms, poky dutifully tries to keep somewhat sane with stored time stamps that are saved on reboot and restored early on during initialization. A fair compromise. However, before that code runs, the udev script tries to restore well known devices using tar. This will often lead to messages such as these since the kernel has no way to set the time: tar: dev/pts: implausibly old time stamp 1970-01-01 00:00:00 tar: dev/char/3:134: time stamp 1970-01-01 00:00:09 is 0.435041705 s in the future The attached patch filters these messages out as they don't convey anything useful and indeed are worrisome to more naive users. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ >From a6773d3e00dbd168817730fff1c3fc7e1b6950f5 Mon Sep 17 00:00:00 2001 From: Gary Thomas <gary@mlbassoc.com> Date: Thu, 17 Feb 2011 11:30:18 -0700 Subject: [PATCH] Suppress messages about bad time stamps during initial device setup Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* perl: import parallel build fixes from upstream git treeNitin A Kamble2011-03-016-22/+6638
| | | | | | | The parallel build issue is fixed in the upstream perl git tree differently. Replacing our fix with the upstream fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* poky-qemu: Update -sdk image name due to recent change to sato-sdkSaul Wold2011-03-011-5/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* poky-setup-builddir: Update references to the manualRichard Purdie2011-03-011-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add new UI hob, a prototype Gtk+ GUI for creating imagesJoshua Lock2011-03-012-0/+734
| | | | | | Hob is a first stab at implementing an interactive GUI for BitBake. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclassJoshua Lock2011-03-011-0/+346
| | | | | | | | | | | Provide a gtk.ListStore subclass which includes a function, populate(), which takes as input the data emitted by bb.event.TargetsTreeGenerated and fills the ListStore model appropriately. Furthermore convenience functions are provided by which the caller can get gtk.TreeModel subclasses which provide filtered views of the data. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Ensure Bash is used when spawning terminalsJoshua Lock2011-03-012-3/+3
| | | | | | | | | We rely on Bashisms when spawning a terminal so ensure that bash is used when using devshell and menuconfig. Fixes [BUGID #119] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-lsb.conf: remove OVERRIDESSaul Wold2011-03-011-2/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mtd-utils: Set the revision to use explicitly else failures occur with ↵Richard Purdie2011-03-011-1/+1
| | | | | | | | BB_NO_NETWORK [BUGID #752] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Weakly set PREMIRRORSRichard Purdie2011-03-011-1/+1
| | | | | | | | We should only weakly set PREMIRRORS as users often want to override this. [BUGID #753] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-lsb.conf: Add DISTROOVERRIDES variable for pokySaul Wold2011-03-011-0/+4
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf: Add DISTROOVERRIDES variableSaul Wold2011-03-011-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* xserver-nodm-init: add rootless-x supportYu Ke2011-03-013-1/+26
| | | | | | | | | | | | most rootless X work are already done in the kernel, xserver and graphics driver, this patches add the the remaining userspace setting: - create /etc/X11/Xusername to set rootless X user - add rootless X user to group video, tty to access /dev/tty[0-4] and /dev/dri/card0 - grant rootless X user access right to /dev/input/*, /var/log Signed-off-by: Yu Ke <ke.yu@intel.com>
* xf86-video-intel: add config option to support rootless XYu Ke2011-03-012-0/+7
| | | | | | | | | | | - add global config option ROOTLESS_X to control if enable rootless X for the machine. ROOTLESS_X requires graphics driver supporting KMS (kernel mode setting), so far, only atom_pc support this. so enable ROOTLESS_X for atom_pc machine - add config options for xf86-video-intel to support rootless X Signed-off-by: Yu Ke <ke.yu@intel.com>
* documentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new question for ↵Scott Rifenbark2011-03-011-0/+41
| | | | | | | | | Python 2.6 requirement. As part of the fix for #628 I added a new question to the FAQ for use of Poky when you do not have Python 2.6. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] - Added ↵Scott Rifenbark2011-03-011-0/+6
| | | | | | | | | | | | note about Python 2.6 bitbake requirement Part of the fix for Bug 628 is to add a note that bitbake requires python 2.6. I added this note before the example bitbake command that builds an image. I also added a linked reference to the Poky Reference Manual and mentioned the FAQ appendix. There will be more information about the python requirement in the FAQ. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* bitbake: Remove in-tree versionKhem Raj2011-02-23103-32506/+0
| | | | | | Bitbake should be used by checking it out from its own repo Signed-off-by: Khem Raj <raj.khem@gmail.com>
* distrodata.bbclass: Fix some issues when checking upstream version on ↵Mei Lei2011-02-231-3/+4
| | | | | | sourceforge Signed-off-by: Mei Lei <lei.mei@intel.com>
* linux-yocto: enable audio for selected qemu targetsBruce Ashfield2011-02-233-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [BUGID #488 #734] Enable audio for qemux86/qemux86-64 via the following kernel configuration options. CONFIG_SOUND_OSS_CORE=y CONFIG_SOUND_OSS_CORE_PRECLAIM=y CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RAWMIDI_SEQ=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_ENS1370=m CONFIG_SND_INTEL8X0=m CONFIG_AC97_BUS=m The mechanism to trigger these options is in the form of an optional kernel feature that is only appended for qemux86 and qemux86-64, but is contained within the kernel tree. This allows several things: - the options to be available/shared for all boards - the options to be in tree - to not add the options to every board, which unecessarily bloats the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openjade-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-5/+12
| | | | | | | Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* docbook-dsssl-stylesheets-native: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-18/+12
| | | | | | | Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* docbook-sgml-dtd-native.inc: run install-catalog from SSTATEPOSTINSTFUNCSScott Garman2011-02-231-16/+10
| | | | | | | Otherwise the sgml-docbook.cat catalog would not be updated when a build from sstate cache is run. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* sstate.bbclass: add SSTATEPOSTINSTFUNCSScott Garman2011-02-231-0/+5
| | | | | | | | | | | | | | When doing builds using sstate cache, there was no way to run the equivalent of a pkg_postinst function. This is needed by the SGML-related documentation recipes to properly update the catalog files when new DTDs and stylesheets are installed. SSTATEPOSTINSTFUNCS is a new variable you can set to function(s) in your recipe to run after install is completed from sstate. Thanks to Richard Purdie for suggesting this solution. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* bitbake/build.py: Fix TaskFailed parametersRichard Purdie2011-02-231-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/data_smart: Improve Variable expansion error handlingRichard Purdie2011-02-231-2/+14
| | | | | | | | | | | | | | | | If expanding a variable triggers an exception the caller currently has no way to supress the error message or otherwise handle the siutation. An example of where this is a problem is "bitbake -e" showing tracebacks and errors for variables like SRCPV in OE/Poky. Secondly in a chained expansion fails, log mesages are recorded for every step of the expansion, not just the innermost error which is where the real failure occured. To fix this we introduce a new exception ExpansionError which callers can handle as appropriate. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/data_smart: Improve the way lazyassignment worksRichard Purdie2011-02-232-8/+2
| | | | | | | | | | | | | | | | | | | | Currently, if a variable has been set with ??= and the code looks it up before the data finalisation phase, no value is found. This is causes serious problems for anonymous python functions which manipulate data, or for the fetcher revision handling code where revisions can be set with ??=. There is also a significant performance implication for processing lazy assignment in finalise. Moving the check for a default value into getVarFlag addresses both the timing issue and the performace. This change gives a 7% real time performance improvement to parsing the Poky metadata. The cost of the check at this point is minimal since we have all the data flags available. This should also fix Yocto bug 752. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: Ensure SRCREV_pn-PN is checked for a revision when the ↵Richard Purdie2011-02-231-1/+3
| | | | | | SRC_URI is unnamed Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/cooker: Fix parsing failure zombie problemRichard Purdie2011-02-231-0/+12
| | | | | | | | | When parsing if a SystemExit event is triggered, it causes the parsing thread to exit and the main process hangs waiting for it to finish indefintely. Add code to catch BaseExceptions and raise these with the main process gracefully instead of just hanging indefinitely with zombie processes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/BBHandler: Improve handling of multiline comments and warn users of ↵Richard Purdie2011-02-221-2/+11
| | | | | | the change Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-2218-79/+83
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: enable audio supportZhai Edwin2011-02-222-1/+8
| | | | | | | | | | On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed. [BUGID #488] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNCDexuan Cui2011-02-222-1/+25
| | | | | | | | | | | | mklibs-native needs elf.h (that is supplied by libc6-dev). since STAGING_INCDIR_NATIVE doesn't contain elf.h (we don't have eglibc-native), so the host's /usr/include/elf.h is used. Unluckily, the libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't define STT_GNU_IFUNC, so we have to define it ourselves. Fixes [BUGID #726] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* package_deb.bbclass: Place the whole task under fakeroot context to fix ↵Richard Purdie2011-02-221-1/+3
| | | | | | | | | | build failures If we don't do this, the ipk/rpm backends can create temporary files and then when the deb package creates new files, those inodes can be reused and permission confusion results. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-meta-base: add uridecodebin library supportDongxiao Xu2011-02-221-1/+2
| | | | | | | | | | libowl-av tries to use playbin2 defaultly, which needs uridecodebin support from gst-plugins-base. This fixes both [BUGID #615] and [BUGID #616] CC: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* linux.inc: remove the obsolete linux.inc kernel recipe includeDarren Hart2011-02-211-95/+0
| | | | | | | | | | | | linux.inc was used by older kernel recipes which have now been removed from the core meta data. I references machines now only defined in meta-extras. The configure prepend mangles the kernel .config in non-intuitive ways and the install peroforms some odd boot image manipulation that is not used nor required by supported machines. The required functionality, such as defconfig setup, has already been moved to the kernel bbclass. Remove linux.inc to avoid confusion for new kernel recipe authors and clean up the kernel meta data. Signed-off-by: Darren Hart <dvhart@linux.intel.com>