summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel.bbclass: Set vardepsexclusive for KERNEL_IMAGE_BASE_NAMEKevin Tian2010-12-161-0/+2
| | | | | | | | | Exclude the DATETIME variable from the KERNEL_IMAGE_BASE_NAME variable. This avoids the last road block linux-yocto for sstate. Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Rename do_deploy so the function can be overridden in recipesKevin Tian2010-12-161-1/+3
| | | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siggen.py: make sure stamp directory existingKevin Tian2010-12-161-0/+2
| | | | | | or else "bitbake -S" from scratch may report "No such file or directory" error. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* openssl: restore -Wall flagPaul Eggleton2010-12-162-2/+2
| | | | | | | | The -Wall flag was unintentionally removed from the end of the CFLAG var in 089612794d4d8d9c79bd2a4365d6df78371f7f40 by me. This patch puts it back in. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Check if DISPLAY is set when IMAGETEST is setJiajun Xu2010-12-161-0/+4
| | | | | | | | | | Fixes [BUGID: 594] In imagetest-qemu.bbclass, we depend on DISPLAY to start qemu in a X desktop. When user wants to run qemu sanity test, we need to check if the variable is set. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* bitbake/runqueue.py: We should just failoutright in scenequeue for noexec ↵Richard Purdie2010-12-161-4/+7
| | | | | | tasks, not skip them so stamps are created Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-qemu: Improve tmp layout assumptionRichard Purdie2010-12-151-1/+1
| | | | | | | | | | | If someone has changed TMPDIR in local.conf to a non-standard location, the poky-qemu script currently doesn't handle this and assumes if BUILDDIR is set, $BUILDDIR/tmp will exist. Its simple to check if this exists and if not, to ask bitbake where the directory is so this patch changes the code to do that. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* runqueue.py: use correct task ID when checking validity of setscene tasksKevin Tian2010-12-141-5/+11
| | | | | | | | | | | | | | | | | | sstate hash validation is done at initialization of RunQueueExecuteScenequeue. However the index of 'valid' list returned from the validation doesn't correspond to setscene task ID. It's just an intermediate namespace between runqueue and sstate hash func. Use it as setscene task ID fully mess the flow. Previously this doesn't cause trouble because all setscene tasks are passed. Commit 58396a5d24c62710fd0a9f3780d84ac8a95d8e7c add 'noexec' concept to setscene tasks which grabs some tasks out of the list and thus trigger this problem Without this fix there're ~50 recipes (gzip-native, glib, ...) rebuilt weirdly with a minimal build, even though existing sstate packages could accelerate them. there's another typo using wrong task ID in a debug message which further hide this issue Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* poky.conf: adjust variable whitelisting to fix sstate checksumsPaul Eggleton2010-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | After some analysis of task dependencies I have adjusted the global whitelist used to filter out variables that would otherwise cause unwanted changes in task checksums for sstate packages. The following changes have been made to BB_HASHBASE_WHITELIST: * Fix typo: FILESEXTRAPATHS not FILESEXTRPATHS * Add variables FILE_DIRNAME HOME LOGNAME SHELL TERM USER * Remove variables DATE and TIME (these are referred to by a number of tasks where they should affect the checksum, e.g. because they influence PV) * Remove variable _ (not found in dependencies) Additionally DATE and SRCDATE are excluded but only explicitly for patch_do_patch, which uses these only to provide a warning if patches are out of date. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* bitbake: add optional expansion to getVarFlag()Paul Eggleton2010-12-142-5/+8
| | | | | | | | Add a parameter to getVarFlag() to auto-expand the value of the flag. This makes getVarFlag() more consistent with getVar(), and allows expansion of vardeps and vardepsexclude (which has been done in this commit). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* bitbake: allow excluding dependencies of variablesPaul Eggleton2010-12-141-0/+1
| | | | | | | | | Adds a vardepsexclude flag that can be used to exclude a dependency of a variable (the opposite of vardeps). This will allow the exclusion of variables from the hash generation much more selectively than blanket whitelisting using BB_HASHBASE_WHITELIST. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* documentation/bsp-guide/bsp.xml: General edits.Scott Rifenbark2010-12-141-94/+91
| | | | | | | | | | | | | 1. Edited to incorporate new file system naming structure per Saul Wold. This is the version I am sending him and Tom Z. to review. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Conflicts: documentation/bsp-guide/bsp.xml Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* bsp-guide: correct BBPATH exampleDarren Hart2010-12-141-1/+1
| | | | | | The BBPATH example was missing a : to separate the path elements. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* documentation/kernel-manual/kernel-how-to.xml: added newline characterScott Rifenbark2010-12-141-1/+2
| | | | | | | There was a git checkout and git push command that did not have a newline character between the two line in a literallayout block. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* documentation/kernel-manual/kernel-how-to.xml: fixed typo bug 588Scott Rifenbark2010-12-141-1/+1
| | | | | | | removed the ";" character that was part of the git log --pretty=oneline command example. This fixes bug [BUGID# 588]. Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
* gnome-desktop: add --disable-desktop-docsDexuan Cui2010-12-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autobuilder logs show the below failure: | xsltproc -o lgpl-vi.omf --stringparam db2omf.basename lgpl --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang vi --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in ... | http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod:632: parser warning : PEReference: %notation.class; not found | ... | unable to parse oc/lgpl.xml | make[3]: *** [lgpl-oc.omf] Error 1 However this issue can't be reproduced in my Ubuntu 9.04 system. I suppose it's because on autobuilder the newer libxml has a stricter syntax requirement about the related xml files. Actually before commit b8b13dcbb76fdc3c9a2866bb35945dcf949c4b20 upgraded gnome-desktop to 2.32.1, we also didn't build desktop-docs. The commit removed no-desktop-docs.patch but didn't notice the Makefile.am depends on --disable-desktop-docs to decice whether desktop-docs will be built. So we should continue to make sure desktop-docs is not built. Fixes [BUGID: 587] Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* linux-yocto/stable: add blktrace configuration to standard branchBruce Ashfield2010-12-141-1/+1
| | | | | | | Enable the kernel configuration values required for blktrace by default. Individual boards can opt out as required. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rpm: Fix LIC_FILES_CHKSUM to use COPYING.LIBSaul Wold2010-12-141-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lsbsetup: fix install processSaul Wold2010-12-142-18/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* clutter-box2d: Add LIC_FILES_CHKSUMSaul Wold2010-12-142-1/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* libsoup: Add LIC_FILES_CHKSUMSaul Wold2010-12-142-3/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* libexif: Add LIC_FILES_CHKSUMSaul Wold2010-12-141-1/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* gst-meta-base: Add LIC_FILES_CHKSUMSaul Wold2010-12-141-0/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* libxscrnsaver: Add LIC_FILES_CHKSUMSaul Wold2010-12-141-1/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* task-poky-clutter: Add LIC_FILES_CHKSUMSaul Wold2010-12-141-0/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* mutter: Add LIC_FILES_CHKSUMSaul Wold2010-12-142-1/+5
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* table: Add LIC_FILES_CHKSUMSaul Wold2010-12-132-1/+4
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* clutter: Add LIC_FILES_CHKSUMSaul Wold2010-12-132-1/+4
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* gtkhtml2: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-1/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* rpm: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-0/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* patch: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-1/+3
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* meta-ide-suppport: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-0/+4
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* linux-yocto: fix machine compatibilityBruce Ashfield2010-12-134-2/+3
| | | | | | | | | | | | During the last phase of the recipe factoring, the board compatibility lists ended up in the wrong place, which meant we had an incomplete list of boards, and the same set of boards for both kernels (stable and devel). To fix this, I've yanked the compatibility to the recipes themselves and updated the emenlow to have a -stable bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemuppc: update 2.6.37 SRCREVBruce Ashfield2010-12-131-1/+1
| | | | | | | | | | Fixes [BUGID: 585] The qemuppc irq handling was only partially updated to 2.6.37, this completes the job. qemuppc builds and boots with this change. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* usbinit: Fix License checksum issueRichard Purdie2010-12-101-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-config: Fix License checksum issuesRichard Purdie2010-12-101-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* update-modules/udev-extraconf: Fix license checksum handlingRichard Purdie2010-12-102-6/+8
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-libc-headers: Correct license checksumDarren Hart2010-12-101-1/+1
| | | | | | | Correct a typo in LIC_FILES_CHKSUM for linux-libc-headers as well as update the md5sum. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* tcl: Correct license checksumsDarren Hart2010-12-101-6/+6
| | | | | | | Correct a typo in LIC_FILES_CHKSUM in the tcl recipe and the changed md5sums that appeared during a test build. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* Correct LIC_FILES_CHKSUM typosDarren Hart2010-12-103-3/+3
| | | | | | | An investigation into undocumented variables uncovered a handful of LIC_FILES_CHKSUM spelling errors Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* image-swab: Correct PARALLEL_MAKE typoDarren Hart2010-12-101-1/+1
| | | | | | | An investigation into undocumented variables uncovered a mispelled instance of PARALLEL_MAKE in image-swab.bbclass. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* Correct DESCRIPTION typos in various recipesDarren Hart2010-12-105-5/+5
| | | | | | | An investigation into undocumented variables uncovered a few mispellings of the variable DESCRIPTION. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* distro_tracking_fields: added missing quoteSaul Wold2010-12-101-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-poky-lsb: removing missing packagesSaul Wold2010-12-101-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* creat-lsb-image: download lsb test suite and creat a image with lsb test suiteXiaofeng Yan2010-12-101-0/+170
| | | | | | | | | | If we make a test with lsb test suite, then we must creat a large image with lsb test suite. three function in this script: 1 download lsb test suite 2 creat a block file with 3G 3 install file system of poky-image-lsb, modules of driver and lsb test suite Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* lsbsetup: Set up lsb test environment on target platformXiaofeng Yan2010-12-102-0/+229
| | | | | | | | This is a script which uses for setting up lsb test environment and install packages of lsb test suite [sgw@linux.intel.com: moved the recipe to a more logical location] Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu: update arm timer handlingBruce Ashfield2010-12-103-1/+75
| | | | | | | | | | | | | | commit e388771458b4ff3ad81ab70e390b24d069647da4 in the upstream kernel factored/cleaned the SP804 timer code. This commit exposed issues in the qemu timer emulation that was dependent on the old behaviour. As a result, no kernel past 2.6.34 would boot on qemu-system-arm. The quick fix is to backport two patches from the latest qemu repositories that fix the timer handling under emulation. Long term, these will be dropped when qemu is upreved. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-libc-headers-yocto: use common linux-yocto routinesBruce Ashfield2010-12-101-12/+9
| | | | | | | | | | | Modify linux-libc-headers-yocto to use the common linux-yocto routines, so headers exported to userspace will track the branches in the yocto kernel git repository. This commit also switches supported boards to prefer the yocto libc headers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* yocto-kernel: factor common routes, update to 2.6.37 and branch renamingBruce Ashfield2010-12-1013-224/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to extend and create more kernel recipes based on the supported yocto kernel common routines need to be placed in re-usable blocks. To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb is broken into three parts: - meta/classes/kernel-yocto.bbclass: contains common routines for checking out and configuring a yocto kernel git repository. This should be inherited by recipes that need this functionality. - meta/recipes-kernel/linux/linux-yocto.inc: Contains the machine mappings, compatibility, build directives and common task definitions for a yocto kernel based recipe. This inherits kernel-yocto, and is the typical point of entry for other recipes. - meta/recipes-kernel/linux/linuux-tools.inc: tasks and function definitions for kernel recipes that want to build/export perf It also updates the linux-yocto recipe to default to 2.6.37. As part of the update to 2.6.37 the branch naming and conventions have been modified to show inheritance, and be more generic. For example: master meta yocto/base yocto/standard/arm_versatile_926ejs yocto/standard/base yocto/standard/beagleboard yocto/standard/common_pc/atom-pc yocto/standard/common_pc/base yocto/standard/common_pc_64 yocto/standard/fsl-mpc8315e-rdb yocto/standard/intel_atom_z530 yocto/standard/intel_core_qm57_pch yocto/standard/mti_malta32_be yocto/standard/preempt_rt/base yocto/standard/preempt_rt/common_pc yocto/standard/preempt_rt/common_pc_64 yocto/standard/preempt_rt/intel_atom_z530 yocto/standard/preempt_rt/intel_core_qm57_pch yocto/standard/qemu_ppc32 yocto/standard/routerstationpro In this structure: master: tracks the mainline kernel meta: meta information for the BSPs and kernel features yocto/base: baseline kernel branch yocto/standard/base: 'standard' kernel, contains features and configs for all BSPs yocto/standard/<machine>: represents a BSP with specific features or configurations The tools, tree and libc-headers have all been updated to deal with this new structure. Also in addition to dealing with the new structure, they continue to work with the existing tree and will adapt at runtime to the differences. The linux-yocto-stable_git.bb recipe continues to build the 2.6.34 based tree,and linux-yocto_git.bb builds 2.6.37. As boards are enabled for the new kernel they will move from -stable to the development kernel. As of now, only the emulated targets have moved to 2.6.37-rcX Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* update-modules: update license infoQing He2010-12-102-0/+341
| | | | Signed-off-by: Qing He <qing.he@intel.com>