aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-05-18Use oe.data for IMAGE_FEATURESkergoth/oe-sync-image-featuresChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18image.bbclass: switch to OE's IMAGE_FEATURESChris Larson
Currently, all image features are assumed to be package groups defined with oe.packagegroup (PACKAGE_GROUP_<group> = "<list of packages>"). Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18packagedata: don't choke on empty PACKAGESChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18Move packagedata code into oe.packagedata (sync from OE)Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18oe.packagegroup: add code for package groups (sync from OE)Chris Larson
This includes some utility functions for dealing with groups of packages defined in the metadata. Metadata syntax: PACKAGE_GROUP_<group> = "<list of packages>" If the packages in the group are optional: PACKAGE_GROUP_<group>[optional] = "1" Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18base.bbclass: use oe.data for OE_IMPORTSkergoth/oe-sync-baseChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18Shift oe import logic out of the event handlerChris Larson
This can be useful if we need the imports from another config parsed event handler, and can't rely upon the base one running before that one. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18base.bbclass: switch to current OE's imports handlingChris Larson
The current mechanism makes it easier for classes to add new oe modules to be automatically imported, and thereby made available to python snippets (${@}). Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18oe.data: expand the flagsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18Implement variable typing (sync from OE)Chris Larson
This implementation consists of two components: - Type creation python modules, whose job it is to construct objects of the defined type for a given variable in the metadata - typecheck.bbclass, which iterates over all configuration variables with a type defined and uses oe.types to check the validity of the values This gives us a few benefits: - Automatic sanity checking of all configuration variables with a defined type - Avoid duplicating the "how do I make use of the value of this variable" logic between its users. For variables like PATH, this is simply a split(), for boolean variables, the duplication can result in confusing, or even mismatched semantics (is this 0/1, empty/nonempty, what?) - Make it easier to create a configuration UI, as the type information could be used to provide a better interface than a text edit box (e.g checkbox for 'boolean', dropdown for 'choice') This functionality is entirely opt-in right now. To enable the configuration variable type checking, simply INHERIT += "typecheck". Example of a failing type check: BAZ = "foo" BAZ[type] = "boolean" $ bitbake -p FATAL: BAZ: Invalid boolean value 'foo' $ Examples of leveraging oe.types in a python snippet: PACKAGES[type] = "list" python () { import oe.data for pkg in oe.data.typed_value("PACKAGES", d): bb.note("package: %s" % pkg) } LIBTOOL_HAS_SYSROOT = "yes" LIBTOOL_HAS_SYSROOT[type] = "boolean" python () { import oe.data assert(oe.data.typed_value("LIBTOOL_HAS_SYSROOT", d) == True) } Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-18qt4: re-enable two 4.6.x patches in 4.7.3Paul Eggleton
Two patches that were being applied in 4.6.x are now applied for 4.7.3. The functions of these two patches are: * Add support for 2bpp (only affects qt4-embedded) * Use correct infix on QtUiTools library (only affects qt4-embedded as qt4-x11-free does not define an infix) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18qt4: add comments and Upstream-Status to all patchesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18qt4: remove Qt 4.6.3Paul Eggleton
We should only have one version of Qt4 supported in oe-core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18gst-openmax: Add patch for GCC 4.6.0Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18qemu: Fix Dependency and compatible machinesSaul Wold
add DEFAULT_PREFERENCE = "-1" to disable git recipe Added libx11 for GL support to DEPENDS Use BROKEN to disable qemuarm and qemumips world build of qemu target Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18gcc: remove unused patches and move patches in proper dirNitin A Kamble
gcc: update upstream-status for patches python: update upstream-status for patches libtool: update upstream-status of patches m4: update upstream status for patches eglibc: remove unused patches eglibc: update upstream status of patches glibc: update upstream-status of patches & remove unused patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-05-18Couple minor fixes for the OECORE renameJessica Zhang
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-18recipes: add Upstream-Status to various recipe patchesScott Garman
Add Upstream-Status tag to patches for the following recipes: apmd insserv linuxdoc-tools openjade sgmlspl at sudo Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-05-18Add pidofproc to ${sysconfdir}/init.d/functionsRobert Yang
Add pidofproc to ${sysconfdir}/init.d/functions, this is used for getting the pid of the process. It uses pidof to implement currently, it may also use the pidfile or ps to implement in the future. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18Cleanup the whitespace in functionsRobert Yang
Cleanup the whitespace in functions, replace the 4 whitespaces indent with tab. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-05-18world-broken: remove non-existent itemsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18task-core-clutter: Update to 1.6Saul Wold
Removed clutter-gtk and box2d Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18clutter: Clean up old recipesSaul Wold
clutter-1.4 is moved to meta-extras clutter-box2d is migrated to latest 1.6 version Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18gcc: Move 4.3.3 and Special kernel 3.4.4 to meta-extrasSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18yaffs2: Remove yaffs2 from oe-coreSaul Wold
Move to meta-extras Also remove yaffs2 from image_types.bbclass Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18gtk+: Ensure that the default dependencies are ones that exist in OE-CoreRichard Purdie
Also use the glibc override instead of target overrides and remove distro overrides creating variables that can be overridden instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-18sanity.bbclass: Disable the is DISTRO set check since we can now run distro-lessRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17update-rc.d: fix after repo moveKoen Kooi
The git repo layout is different from the cvs repo layout Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-17recipes: Add upstream status information for patchesDongxiao Xu
gypsy: Add upstream status information for gypsy's patch alsa-utils: fix upstream status typo pulseaudio: add upstream status for pulseaudio-0.9.15's patches hostap: add upstream status for hostap's patch glibc: add upstream status for glibc's patch glib-2.0: add upstream status for glib-2.0's patch mtd-utils: add upstream status for mtd-utils patches add upstream status for opkg's patches mark add_vercmp.patch as inappropriate since the added function is not used. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-05-17image-prelink: remove hardcoded path assumptions, don't generate cache filePhil Blundell
Pass -N option to prelink so that no cache file is generated (obviates need for deleting it afterwards). Use symbolic names, ${sysconfdir} et al., rather than hardcoded paths. Pass explicit -c option to prelink in case ${sysconfdir} and ${sysconfdir_native} are different. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17task-core-lsb: Add libQtOpenGL.so* library to lsb-imageXiaofeng Yan
The library libQtOpenGL.so* is needed by LSB Test Suite. So I add them to lsb-image for platform emenlow and mpc8315e. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-05-17lsbsetup: Add a link for lsb testXiaofeng Yan
Link /usr/lib/sendmail to /usr/sbin/sendmail Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-05-17lsb: Install init-functions to rpm packageXiaofeng Yan
The script init-functions can't be built into rpm package of lsb. I modify lsb_1.4.bb to add this script to rpm package of lsb. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-05-17bitbake.conf: set TARGET_VENDOR to '-oe' and remove it from defaultsetup.confMartin Jansa
* -oecore was changed to -oe to be more consistent with SDK_VENDOR as we had -oesdk as SDK_VENDOR and not -oecoresdk Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-17backport USE_LDCONFIG and PACKAGE_SNAP_LIB_SYMLINKS from oe masterPhil Blundell
This is a backport of the corresponding package.bbclass functionality (which is needed by micro) from the openembedded tree. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17update patch upstream statusQing He
for the following recipes: pcmciautils openssl udev apt gdm Signed-off-by: Qing He <qing.he@intel.com>
2011-05-17guilt-native: eliminate hardcoded "/usr" in do_installPhil Blundell
For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. Let's use ${prefix} instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17Upstream-Status: Update patch upstream-status for GPLv2 recipesZhai Edwin
Including gzip and mtoools Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-05-17eglibc: backport fix from oe master to stop libc.so leaking into ${PN}Phil Blundell
Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17task-core-nfs/image.bbclass: Fix some libc overridesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17image.bbclass: use soft assignment for LDCONFIGDEPENDPhil Blundell
This allows distros that don't want ldconfig to turn it off. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17openssl: backport fix for empty prefix from oe masterPhil Blundell
This fixes a build failure when ${prefix}="". Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17update-rc.d: point SRC_URI to new devel repoPhil Blundell
handhelds.org cvs is down and doesn't seem to be coming back. update-rc.d now has a new upstream home, point SRC_URI to that. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17license bbclass: put licenses in DEPLOY_DIR/licenses to avoid sstate ↵Koen Kooi
problems when MACHINE is part of DEPLOY_DIR_IMAGE See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/002535.html for more info. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17linux-yocto: update meta SRCREVBruce Ashfield
Updating the meta branch to pickup two recent commits for BSP support: [ commit 79669230fd82a3e7e254cf8b596a2388a4333e62 Author: Tom Zanussi <tom.zanussi@intel.com> Date: Fri Apr 22 15:55:12 2011 -0500 bsp/crownbay: merge emgd branch Add scc commands to merge the yocto/emgd branch into the crownbay BSP. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> :100644 100644 89a0725... 0d02b98... M meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc commit ceb1744ec55408cb637929a3f154379e42642890 Author: Tom Zanussi <tom.zanussi@intel.com> Date: Mon Apr 25 18:15:14 2011 -0500 meta/romley: create initial BSP infrastructure Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> :000000 100644 0000000... 54ec614... A meta/cfg/kernel-cache/bsp/romley/romley-standard.scc :000000 100644 0000000... 61e5506... A meta/cfg/kernel-cache/bsp/romley/romley.cfg :000000 100644 0000000... 1c4a657... A meta/cfg/kernel-cache/bsp/romley/romley.scc commit ecab1e2bc12a8b0c4d064a00acc3260f6e8528c5 ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-05-17perl-native: create_wrapper on perl${PV} tooTom Rini
perl${PV} becomes hostperl when building for the target so we need a wrapper on that too. This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-05-17openssh: Don't use ${libdir}execTom Rini
This is 1259e0289ce53198cc6c57a9616c8a1623be502a in OE. [RP: Added PR bump] Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17base.bbclass: Fix PR increment bug when PR number is a single digitKhem Raj
PRINC which should add to base PR value has a problem when the PR is single digit e.g. r0 - r9. Current algorithm needed atleasts 2 digits to successfully populate end and begin markers. We reimplement the incrementing algorithm using regular expressions which addressed the above mentioned problem and simplifies the logic a bit and gets rid of loops and conditionals Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-17Add a new task checklicense and fix some bugs in distro_check.pyMei Lei
distro_check.py: Create a new function called create_log_file to reduce a lot of repeat code in distrodata.bbclass. We needn't to create log file in function save_distro_check_result, because the log file has been generated in check_eventhandler. Another bug is that we maybe access the /tmp/Meego-1.0 before we create this file. Add a judge statement to decide whether we need to create this file firstly. distrodata.bbclass: Add a new task checklicense to collect missing text license information. This can help package-report system to know how many recipes are missing license text. Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-05-17linux-yocto: detect and avoid branch revision checking for AUTOREVBruce Ashfield
When a BSP or layer specifies an AUTOREV for SRCREV, the logic that matches expected vs real branch heads doesn't apply. We always want the latest. To solve the issues with invalid git revs causing validation failures, we detect the AUTOINC value and do a early return, skipping validation. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>