summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use oe.data for IMAGE_FEATURESkergoth/oe-sync-image-featuresChris Larson2011-05-181-6/+6
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* image.bbclass: switch to OE's IMAGE_FEATURESChris Larson2011-05-183-75/+79
| | | | | | | 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>
* packagedata: don't choke on empty PACKAGESChris Larson2011-05-181-1/+2
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Move packagedata code into oe.packagedata (sync from OE)Chris Larson2011-05-184-66/+115
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* oe.packagegroup: add code for package groups (sync from OE)Chris Larson2011-05-182-1/+30
| | | | | | | | | | | | | 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>
* base.bbclass: use oe.data for OE_IMPORTSkergoth/oe-sync-baseChris Larson2011-05-181-1/+3
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Shift oe import logic out of the event handlerChris Larson2011-05-181-15/+18
| | | | | | | 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>
* base.bbclass: switch to current OE's imports handlingChris Larson2011-05-181-13/+9
| | | | | | | 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>
* oe.data: expand the flagsChris Larson2011-05-181-0/+5
| | | | Signed-off-by: Chris Larson <chris_larson@mentor.com>
* Implement variable typing (sync from OE)Chris Larson2011-05-186-0/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* qt4: re-enable two 4.6.x patches in 4.7.3Paul Eggleton2011-05-183-2/+4
| | | | | | | | | | | 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>
* qt4: add comments and Upstream-Status to all patchesPaul Eggleton2011-05-1812-3/+52
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* qt4: remove Qt 4.6.3Paul Eggleton2011-05-1815-600/+0
| | | | | | We should only have one version of Qt4 supported in oe-core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* gst-openmax: Add patch for GCC 4.6.0Saul Wold2011-05-182-2/+22
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu: Fix Dependency and compatible machinesSaul Wold2011-05-183-6/+13
| | | | | | | | 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>
* gcc: remove unused patches and move patches in proper dirNitin A Kamble2011-05-1876-847/+91
| | | | | | | | | | | | | | | | | | 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>
* Couple minor fixes for the OECORE renameJessica Zhang2011-05-182-4/+4
| | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* recipes: add Upstream-Status to various recipe patchesScott Garman2011-05-1812-29/+70
| | | | | | | | | | | | | | 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>
* Add a skeleton for init scriptsRobert Yang2011-05-184-0/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a skeleton for init scripts, the original structure is from /etc/init.d/skeleton of Ubuntu 10.10, it is in sysvinit_2.87dsf, so add the COPYRIGHT(GPLv2) of sysvinit_2.87dsf. Modified the original skeleton a lot to make it as easy as possible, just use posix shell command, and have tested it with core-image-minimal. * The skeleton implements the following actions: - start, stop, restart, status, try-restart and force-reload. # force-reload is a alias of try-restart. - not implements reload, since only a few programs have it, just leave it as placeholder. * Add /usr/sbin/skeleton-test to test /etc/init.d/skeleton * The /etc/init.d/skeleton can be run and output the example messages: 1) #./skeleton start (test start) Starting skeleton ... 2) #./skeleton start (test start again when running) skeleton already running (1078). 3) #./skeleton status (test status when running) skeleton is running (1078). 4) #./skeleton stop (test stop) Stopped skeleton (1078). 5) #./skeleton stop (test stop again) skeleton is not running; none killed. 6) #./skeleton status (test status when stopped) skeleton is not running. 7) #./skeleton restart (test restart when running) Stopped skeleton (1128). Starting skeleton ... 8) #./skeleton restart (test restart when stopped) skeleton is not running; none killed. Starting skeleton ... 9) try-restart (or force-reload) means restart the service if the service is already running #./skeleton try-restart (test try-restart when stopped) skeleton is not running; none killed. #./skeleton try-restart (test try-restart when running) Stopped skeleton (1181). Starting skeleton ... * Have used syslogd to test it in a real world(with both core-image-minimal and core-image-sato) Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* Add pidofproc to ${sysconfdir}/init.d/functionsRobert Yang2011-05-181-2/+30
| | | | | | | | 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>
* Cleanup the whitespace in functionsRobert Yang2011-05-181-5/+6
| | | | | | | Cleanup the whitespace in functions, replace the 4 whitespaces indent with tab. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* Add the layer meta-skeletonRobert Yang2011-05-181-0/+10
| | | | | | | Add the layer meta-skeleton, it will be used to place the various canonical examples. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* world-broken: remove non-existent itemsSaul Wold2011-05-181-5/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* task-core-clutter: Update to 1.6Saul Wold2011-05-181-6/+6
| | | | | | Removed clutter-gtk and box2d Signed-off-by: Saul Wold <sgw@linux.intel.com>
* clutter: Clean up old recipesSaul Wold2011-05-185-79/+2
| | | | | | | 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>
* gcc: Move 4.3.3 and Special kernel 3.4.4 to meta-extrasSaul Wold2011-05-1884-17807/+0
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* yaffs2: Remove yaffs2 from oe-coreSaul Wold2011-05-185-604/+0
| | | | | | | Move to meta-extras Also remove yaffs2 from image_types.bbclass Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gtk+: Ensure that the default dependencies are ones that exist in OE-CoreRichard Purdie2011-05-181-8/+4
| | | | | | | 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>
* sanity.bbclass: Disable the is DISTRO set check since we can now run distro-lessRichard Purdie2011-05-181-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-buildenv-internal: Improve message when bitbake is missingRichard Purdie2011-05-181-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: fix after repo moveKoen Kooi2011-05-171-2/+2
| | | | | | The git repo layout is different from the cvs repo layout Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* recipes: Add upstream status information for patchesDongxiao Xu2011-05-1717-1/+33
| | | | | | | | | | | | | | | 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>
* image-prelink: remove hardcoded path assumptions, don't generate cache filePhil Blundell2011-05-171-8/+5
| | | | | | | | | 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>
* task-core-lsb: Add libQtOpenGL.so* library to lsb-imageXiaofeng Yan2011-05-171-0/+7
| | | | | | | 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>
* lsbsetup: Add a link for lsb testXiaofeng Yan2011-05-171-2/+4
| | | | | | Link /usr/lib/sendmail to /usr/sbin/sendmail Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* lsb: Install init-functions to rpm packageXiaofeng Yan2011-05-171-2/+4
| | | | | | | 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>
* bitbake.conf: set TARGET_VENDOR to '-oe' and remove it from defaultsetup.confMartin Jansa2011-05-172-3/+1
| | | | | | * -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>
* backport USE_LDCONFIG and PACKAGE_SNAP_LIB_SYMLINKS from oe masterPhil Blundell2011-05-171-7/+27
| | | | | | | 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>
* update patch upstream statusQing He2011-05-1715-1/+29
| | | | | | | for the following recipes: pcmciautils openssl udev apt gdm Signed-off-by: Qing He <qing.he@intel.com>
* guilt-native: eliminate hardcoded "/usr" in do_installPhil Blundell2011-05-171-1/+1
| | | | | | | 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>
* Upstream-Status: Update patch upstream-status for GPLv2 recipesZhai Edwin2011-05-175-0/+12
| | | | | | Including gzip and mtoools Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* eglibc: backport fix from oe master to stop libc.so leaking into ${PN}Phil Blundell2011-05-171-1/+1
| | | | | Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-nfs/image.bbclass: Fix some libc overridesRichard Purdie2011-05-172-4/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: use soft assignment for LDCONFIGDEPENDPhil Blundell2011-05-171-1/+1
| | | | | | | 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>
* openssl: backport fix for empty prefix from oe masterPhil Blundell2011-05-171-1/+5
| | | | | | | This fixes a build failure when ${prefix}="". Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: point SRC_URI to new devel repoPhil Blundell2011-05-171-1/+1
| | | | | | | | 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>
* license bbclass: put licenses in DEPLOY_DIR/licenses to avoid sstate ↵Koen Kooi2011-05-171-1/+1
| | | | | | | | | 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>
* linux-yocto: update meta SRCREVBruce Ashfield2011-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* perl-native: create_wrapper on perl${PV} tooTom Rini2011-05-171-0/+1
| | | | | | | | | 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>
* openssh: Don't use ${libdir}execTom Rini2011-05-171-3/+3
| | | | | | | | 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>