summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2011-05-20Move packagedata code into oe.packagedata (sync from OE)Chris Larson4
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-20oe.packagegroup: add code for package groups (sync from OE)Chris Larson2
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-20base.bbclass: use oe.data for OE_IMPORTSChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-20Shift oe import logic out of the event handlerChris Larson1
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-20base.bbclass: switch to current OE's imports handlingChris Larson1
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-20oe.data: expand the flagsChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-05-20Implement variable typing (sync from OE)Chris Larson6
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-20kernel.bbclass: pass KERNEL_VERSION through legitimize_package_nameAndreas Oberritter1
- KERNEL_VERSION may contain characters unsuitable for package names, e.g. underscores. Use legitimize_package_name to replace those characters. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-20Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie1
This reverts commit bbdd81fcd25d2d5aa730a1ea99eecf50a2111989. Saul discovered this change was incorrect.
2011-05-20ed (GPLv2): remove --disable-silent-rulesSaul Wold1
Older version of configure in ed does not like this option, so remove it from CONFIGUREOPTS Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-20modutils-cross: fix install issueSaul Wold1
[YOCTO #1055] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-20tcmode-default: switch to gcc 4.6.0 for x86, x86-64 & armNitin A Kamble1
mips & ppc are not ready yet. Waiting for kernel issues to be fixed. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-05-20uclibc/site_config/funcs: getloadavg is unimplementedKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-20nfs-utils_1.2.3.bb: Fix compile failure on uclibcKhem Raj3
libio.h is not needed even in case of eglibc but still the patch is uclibc specific Refreshed nfs-utils-1.0.6-uclibc.patch against nfs-utils_1.2.3 no code change Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-20opkg-utils: Synchronise with OEKhem Raj2
Import mtime-int.patch from OE commit c81990aecae3bdf70a7c924699776b248ab7a006 Pass LDFLAGS to linker to avoid missing GNU_HASH QA errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-20package-index.bb: add support for deb and rpm.Dexuan Cui4
[YOCTO #1024] Currently package-index.bb only supports ipk. This commit adds the support for rpm and deb, too. ------------------------------ How to generate and use repos: 1) run "bitbake package-index" after building some target, e.g., core-image-sato-sdk; 2) export ${DEPLOY_DIR_RPM}, ${DEPLOY_DIR_IPK} and ${DEPLOY_DIR_DEB} by a webserver on the host, assuming the host IP is 192.168.7.1, at http://192.168.7.1/rpm http://192.168.7.1/ipk http://192.168.7.1/deb 3) inside the target, according to the packaging system (rpm, ipk or deb) used when we generate the target image, we can use different ways to manage packages: 3.1) RPM run "zypper addrepo http://192.168.7.1/rpm main; zypper refresh" to retrieve info about the repo; next, we can use "zypper install/remove" to manage packages. 3.2) IPK add the repo info into opkg config file, i.e., in /etc/opkg/arch.conf, we can add something like "src i586 http://192.168.7.1/ipk/i586", and next, we run "opkg update" to make opkg update the list of available packages. And later, we can use "opkg install/remove" to manage packages. 3.3) DEB Currently in target, some important config files, like /var/lib/dpkg/status and /etc/apt/sources.list, for deb/apt are missing. So we can't install/remove package in target at present. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-05-20gettext (gplv2): add virtual/gettext to PROVIDES listSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-20u-boot: fix LIC_FILE_CHKSUMSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19distro/defaultsetup.conf: Append TCLIBC to TMPDIR by defaultRichard Purdie2
The current solutions to share uclibc, eglibc and glibc builds in the same tree all have various issues associated with them. Appending the suffix to TMPDIR seems like the best solution since sstate (which defaults to outside TMPDIR) will allow reuse of any components. This avoids messy changes to the core with other approaches to this problem inevitably entail, usually in code where this abstraction isn;'t logically best placed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and ↵Khem Raj1
DISTRO_EXTRA_RRECOMMENDS We otherwise get these added to image dependencies in distributions and they may not want it but would like to use those variables Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-19qt4-tools-native: Fix the patch locationSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19utils.bbclass: modify create_wrapper to correctly follow symlinksSaul Wold1
This ensures you look up the symbolic link to get the full path Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19Add adt repo checkingJessica Zhang2
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-19extract bitbake config setting into data_define, use more variables ↵Jessica Zhang5
replacing hardcoded values Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-19lsbsetup: Rename this file and add a link for lsb testXiaofeng Yan2
[YOCTO #1079] Rename this file version from 0.9 to 1.0. Link time environment for Hong Kong time for lsb test. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Added yocto bugid Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19linux-yocto: fix gcc 4.6.0 compilation failuresBruce Ashfield1
Fixes bug: [YOCTO #1035] Fixes bug: [YOCTO #1036] Fixes gcc 4.6.0 compliation issues by importing the upstream change: Author: Michal Marek <mmarek@suse.cz> Date: Mon May 2 12:13:01 2011 +0000 kbuild: Fix passing -Wno-* options to gcc 4.4+ Starting with 4.4, gcc will happily accept -Wno-<anything> in the cc-option test and complain later when compiling a file that has some other warning. This rather unexpected behavior is intentional as per http://gcc.gnu.org/PR28322, so work around it by testing for support of the opposite option (without the no-). Introduce a new Makefile function cc-disable-warning that does this and update two uses of cc-option in the toplevel Makefile. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Michal Marek <mmarek@suse.cz> Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> Integrated-by: Bruce Ashfield <bruce.ashfield@windriver.com> :100644 100644 0ef00bd... 1d8e7e9... M Documentation/kbuild/makefiles.txt :100644 100644 7bd863e0.. 74bac80... M Makefile :100644 100644 ed2773e... ba25c44... M scripts/Kbuild.include Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-05-19tcp-wrappers: fix libc overridesKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19sysstat: fix libc overridesKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19lsof: fix libc overridesKoen Kooi1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19findutils: fix libc overridesKoen Kooi2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19diffutils: fix libc overridesKoen Kooi2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-19mklibs-native: Update to 0.1.33Saul Wold3
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19usbutils: Update to 0.91Saul Wold1
Also move the upstream location to kernel.org Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19u-boot: update SRCREV to 2011.03Darren Hart1
Fixes [YOCTO 1029] u-boot 2010.12 fails to run on the Beagleboard C4 and xM Rev A boards. Commit 55aacbc30e48f6f8a73fb989a58625e70887bc01 suggests there was a mixup during development, as the MD5SUM change is from the 2011.03 SRCREV back to the 2010.12. Chances are a patch was never sent to update the SRCREV, leaving the MD5SUM in a bad state. Update the SRCREV and COPYING MD5SUM to use the 2011.03 version. Built and tested on Beagleboard xM Rev A and Beagleboard Rev C4. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Jeff Osier-Mixon <jefro@jefro.net> Cc: Jeff Osier-Mixon <jefro@jefro.net> Cc: Yi Zhao <yi.zhao@windriver.com> Cc: Robert Berger <pokylinux@reliableembeddedsystems.com> Cc: Gary Thomas <gary@mlbassoc.com> Merged Richard's removal of PR from PV Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-19u-boot: Don't add PR in PV, its pointlessRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-19utils.bbclass: modify create_wrapper to correctly follow symlinksSaul Wold1
This ensures you look up the symbolic link to get the full path Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18qt4: re-enable two 4.6.x patches in 4.7.3Paul Eggleton3
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 Eggleton12
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-18qt4: remove Qt 4.6.3Paul Eggleton15
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 Wold2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18qemu: Fix Dependency and compatible machinesSaul Wold3
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 Kamble76
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 Zhang2
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-05-18recipes: add Upstream-Status to various recipe patchesScott Garman12
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 Yang1
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 Yang1
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 Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18task-core-clutter: Update to 1.6Saul Wold1
Removed clutter-gtk and box2d Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-05-18clutter: Clean up old recipesSaul Wold5
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 Wold84
Signed-off-by: Saul Wold <sgw@linux.intel.com>