summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* busybox: enable unmount all featurePaul Eggleton2011-03-182-2/+2
| | | | | | This allows "umount -f -a -r" in our initscripts to actually do something. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: Note added about proxyScott Rifenbark2011-03-181-0/+10
| | | | | | | | I added a note to reference the FAQ entry in the Poky manual that describes how to get around proxy and firewall stuff hanging up getting the source code during a build. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: Added references to FAQsScott Rifenbark2011-03-181-1/+8
| | | | | | | In the beginning of the manual I added references to the FAQs we support. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/yocto-project-qs.xml: 1.0 edits applied to ↵Scott Rifenbark2011-03-181-21/+21
| | | | | | | | | | | examples This is first guess at the correct example commands and directory names for the Bernard 5.0 release. I don't have any real directories available to look at and doc changes are supposed to be frozen before the actual build. So these are guesses and will need reviewed. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/style.css: Updated note text colorScott Rifenbark2011-03-181-1/+0
| | | | | | | Had to update the note and tip text color to white to match other books. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/yocto-project-qs/style.css: Updated stylesScott Rifenbark2011-03-181-8/+14
| | | | | | | | I updated the style sheet to use Yocto blue for the headings and got rid of the green tip and note stuff. This style matches the other style sheet now. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* [BUGID# 857] - documentation/yocto-project-qs/yocto-project-qs.xml: added ↵Scott Rifenbark2011-03-181-1/+1
| | | | | | | | | groff package [BUGID# 857] In the packages section for the list of Debian-based system package requirements I added 'groff'. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* sstate.bbclass: Turn absolute symbolic links into relative ones for sstate ↵Richard Purdie2011-03-181-1/+28
| | | | | | packages Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.hardware: update for 1.0 releasePaul Eggleton2011-03-181-403/+170
| | | | | | | | | | | * Update to refer to Yocto documentation * Change title as suggested by Scott Rifenbark * List all qemu* machine targets * Remove machines no longer in core layer * Add instructions for routerstationpro (originally based on an email from Mark Hatle) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* documentation/poky-ref-manual/faq.xml: Added entry about proxy and firewallScott Rifenbark2011-03-181-0/+96
| | | | | | | This is an explanation on how to get by the proxy or around the firewall when Poky is trying to find and download sources. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/extendpoky.xml: Formfactor path correctedScott Rifenbark2011-03-181-1/+1
| | | | | | | | I changed the path 'meta/packages/formfactor/files/config' to 'meta/recipes-bsp/formfactor/files/config' per Joshua Lock's instruction for correctness. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/extendpoky.xml: small editsScott Rifenbark2011-03-181-14/+15
| | | | | | Various small edits and format changes. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/usingpoky.xml: Small editsScott Rifenbark2011-03-181-4/+4
| | | | | | I made some minor edits. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/faq.xml: Added three FAQ entriesScott Rifenbark2011-03-181-0/+68
| | | | | | | | | | | Added three FAQ entries per Joshual Lock. 1. How do I disable the cursor on my touchscreen device? 2. How do I make sure connected network interfaces are brought up by default. 3. How do I create images with more free space? Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/usingpoky.xml: More BitBake changesScott Rifenbark2011-03-181-8/+8
| | | | | | | Forgot to search for "Bitbake" occurances. These are now changed to "BitBake." Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/usingpoky.xml: grammar fix and BitBake fixScott Rifenbark2011-03-181-16/+16
| | | | | | | Fixed a grammar problem and then did a search and replace for "bitbake" to replace with "BitBake". Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/introduction.xml: Wording and release updateScott Rifenbark2011-03-181-4/+5
| | | | | | | | | I changed several occurances of "Yocto Project" to "the Yocto Project." Also changed the statement about what Poky release the book supported. It previously said "applies to Poky Release 4.0 (Laverne)." I changed this to "applies to Poky Release 5.0 (Bernard)." Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/introduction.xml: Removed linkScott Rifenbark2011-03-181-1/+1
| | | | | | | | | | | Removed a link to the Intel Website. Upon testing this link I discovered that it loads the Intel site into the current web page and then disables the back button. Rather annoying. I tried to change the link to pop a new window but couldn't get the ulink.target parameter to work. Ran out of time to try and figure it out so I removed the link. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/faq.xml: Spell CheckScott Rifenbark2011-03-181-5/+5
| | | | | | Performed a spell check and corrected several problems. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/poky-ref-manual.xml: Updated title pageScott Rifenbark2011-03-181-0/+5
| | | | | | | | Updated the title page by adding a new revision entry for the manual. Not sure of the current revision numbering scheme so I reset it to Revision 1.0 to match that of the release. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/style.css: Updated to match other manualsScott Rifenbark2011-03-181-8/+14
| | | | | | | I have updated some styles so that the GIT manuals are looking more consistent and have better color schemes for the section headings. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/poky-ref-manual/extendpoky.xml: Spell checkScott Rifenbark2011-03-181-15/+15
| | | | | | A spell check performed on this chapter. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* [BUGID# 293] - documentation/poky-ref-manual/extendpoky.xml: Added text for ↵Scott Rifenbark2011-03-181-0/+10
| | | | | | | | | | | | choosing server [BUGID# 293] - I added text at the end of section 3.2.3 "Customizing Images Using Custom IMAGE_FEATURES" to include explanation of the two servers Poky uses for images by default. Also how to change the variable IMAGE_FEATURES to configure the server. This change is part of the fix for BUGID# 293 and was suggested by Scott Garman. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* bitbake.conf: Increase image overhead factor to account for rpm/zypper ↵Richard Purdie2011-03-181-1/+1
| | | | | | database size Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check for duplicates in PACKAGE_ARCHSJoshua Lock2011-03-181-0/+13
| | | | | | | | Duplicate entries in PACKAGE_ARCHS causes problems with rootfs generation. For example multiple architecture entries in opkg.conf will confuse the opkg package manager. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* documentation/kernel-manual/kernel-how-to.xml: Spell checkedScott Rifenbark2011-03-181-3/+3
| | | | | | Performed a spell check and found a couple items. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/kernel-manual/kernel-manual.xml: Updated the title pageScott Rifenbark2011-03-181-1/+7
| | | | | | | I updated the title page to add Revision 1.0 to the Revision history table. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/bsp-guide/bsp.xml: Spell checkScott Rifenbark2011-03-181-4/+5
| | | | | | Performed a spell check and caught a couple small things. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/bsp-guide/style.css: Updated Style SheetScott Rifenbark2011-03-181-9/+15
| | | | | | | | I updated the HTML style sheet to match that of the other online manuals. Section heads are now in Yocto blue and tip box color is inline with Yocto color schemes. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/bsp-guide/bsp-guide.xml: Updated Title PageScott Rifenbark2011-03-181-6/+7
| | | | | | | I updated the revision table for the manuals to have better wording and to go from oldest to newest top down. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/bsp-guide/figures/bsp-title.png: Updated PNG file for titleScott Rifenbark2011-03-181-0/+0
| | | | | | | I updated the figure for the title so that it uses the same color scheme as the other manuals. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>