aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2012-07-27world-broken.inc: Remove clutter-box2d from the exclude list, it worksRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27package.bbclass/eglibc-locale: Ensure the correct PN is used for locale packagesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27sstate.bbclass: Add a string representing the lsb release to native/cross sstateRichard Purdie
This patch adds the lsb name and revision to the path used for sstate files. This means that reuse of sstate files between different distributions is restricted by default. The behaviour can be configured using mirror urls, for example: SSTATE_MIRRORS = "file://Ubuntu-11.10/(.*) file://Ubuntu/\1 \n" would map Ubuntu 11.10 to a more generic "Ubuntu" named sstate feed. Usually, more modern distros have increased libc versions for example so whilst more older native/cross sstate packages will usually work on newer distros, the opposite is not true. This patch allows development of policy to better handle this although no default policy is currently being used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27sstate: Add a two character subdirectory to the sstate directory layoutRichard Purdie
Currently all sstate files are placed into one directory. This does not scale and causes a variety of filesystem issues. This patch adds a two character subdirectory to the layout (based on the first two characters of the hash) so that files can be split into several directories. This should help performance of sstate in most cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27base.bbclass: Set the NATIVELSBSTRING variable to represent the distro we're ↵Richard Purdie
running on This can then be used by the sstate code to mark native and cross packages as being specific to a given distro. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27lib/oe/lsb: Add basic LSB functionsRichard Purdie
This code was written by Christopher Larson <chris_larson@mentor.com> and allows generation of the LSB release data based upon the lsb_release command. It also includes a helper function to generate a string representing a given distribution. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27bzip2-native: handling native path issueYao Zhao
follow Richard's approach, modify bzip2-native recipe to install bzip2 package binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other package is doing upack to reference bzip2. libbz2.so* still installs to STAGING_LIBDIR_NATIVE. change python-native to depends on bzip2-replacement-native instead of bzip2-full-native and add EXTRANATIVEPATH for bzip2-native. Didn't add bzip2native.bbclass as python-native is the only user so far. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27image.bbclass: Fix a couple innocuous typoes, should cause no functional changeRobert P. J. Day
"error_promt" -> "error_prompt" changed in both places "subfolers" -> "subfolders" since it's not referenced anyway Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27classes/package: reduce dbg package dependenciesPaul Eggleton
Make dbg package dependencies added via DEPCHAIN_POST less aggressive - only add dependencies on dbg packages for shared library dependencies. This avoids dragging in extraneous packages (such as eglibc-dbg forcing bash-dbg to be installed) whilst preserving the ability to easily debug into shared libraries in use by an application by just requesting the installation of the single dbg package for that application. For task recipes however we preserve the previous behaviour, since when you install task-xxx-dbg you expect the dbg packages for every package in the task to be installed. Unfortunately not all of our tasks inherit from task.bbclass so we just use a name match - this should be tidied up later. Fixes [YOCTO #2599]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27gtk-doc.bbclass: unbreak dependency-chain for native recipesAndreas Müller
see [1] & [2] for discussion of this patch [1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026606.html [2] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026611.html Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27u-boot.inc: update linker arguments to pass --sysroot argMatthew McClintock
If we are building from sstate-cache it's possible to be building from another folder on another machine, therefore the linker requires that a proper --sysroot is passed too it so it can find things like libgcc.a and avoid errors such as: | arm-poky-linux-gnueabi-gcc -g -O2 -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder -o hello_world.o hello_world.c -c | arm-poky-linux-gnueabi-gcc -g -O2 -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder -o stubs.o stubs.c -c | arm-poky-linux-gnueabi-ld -r -o libstubs.o stubs.o | arm-poky-linux-gnueabi-ld -g -Ttext 0x80300000 \ | -o hello_world -e hello_world hello_world.o libstubs.o \ | -L. -lgcc | arm-poky-linux-gnueabi-ld: cannot find -lgcc | make[1]: *** [hello_world] Error 1 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27insserv: define do_install_virtclass-native()Roy.Li
[YOCTO #2812] Since files installation dirs are DESTDIR/etc/, DESTDIR/sbin etc in Makefile, not DESTDIR/${sysconfdir}/, DESTDIR/${sbindir}/, for the native package, a prefix can not be inserted which is needed when do the next step of install and do_populate_sysroot. Now we define do_install_virtclass-native in which DESTDIR is ${D}/${STAGING_DIR_NATIVE} Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27Update intltool to version 0.50.0Florin Sarbu
Uprev intltool to newer 0.50.0 version Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27bluez4: use PACKAGECONFIG to control 'pie'Christopher Larson
This lets us control whether we build position independent executables. As, as far as I know no distros are adding a 'pie' distro feature, the effect of this commit for most will be to disable pie in bluez4. I think this is best to ensure consistent behavior among the recipes with regard to this. This also sidesteps a build failure I've seen with bluez4 failing due to libudev.a not having been built fPIC. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27bitbake.conf: override -cpu for qemu on ppc with SPEKhem Raj
We use -mtune flags which lets our application have SPE intruction in them which is a good thing but when running qemu especially in user mode these application wont work with default powerpc emulation. Therefore we have to add proper -cpu option to let qemu emulate for a given cpu. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27cmake: Upgrade recipes to 2.8.8Khem Raj
Copyright year change means a change in checksum ... CMake - Cross Platform Makefile Generator -Copyright 2000-2009 Kitware, Inc., Insight Software Consortium +Copyright 2000-2011 Kitware, Inc., Insight Software Consortium All rights reserved. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27qemu: Fix illegal instruction errors on e500 emulationKhem Raj
I caught this when running user mode qemu for ppc/e500 applications which had SPE instructions in them will abort with illegal instruction error all the time. The patch is already applied upstream we needed a backport into 0.15.x Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27pkgconfig: Fix packaging issueSaul Wold
The pkg.m4 file should be packaged as part of the base package instead of the -dev package, it had been in the base package, but I seemed to have missed that it moved during my PACKAGES reorder, and this caused the meta-toolchain to break [YOCTO #1908] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27eglibc: Add patch to add sys/resource.h to wait.hSaul Wold
This is needed for the older kernel perf tools to build correctly, as noted in the patch new perf tools have sys/resource.h included directly. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27tcmode-default: Bump EGLIBC Version to 2.16Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26usbutils: avoid dependency on bashPaul Eggleton
By virtue of having #!/bin/bash, the usb-devices script declared that it requires bash, however manual examination, checkbashisms and tests with dash and busybox show that it doesn't contain any bashisms, so change the script's header and remove the RDEPENDS on bash. Additionally, update-usbids.sh was manually checked for bashisms, run through checkbashisms and tested with busybox (although it did not have a bash-specific header). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26classes/package: do not add self-dependencies to dev/dbg packagesPaul Eggleton
Avoid adding dependencies to dev and dbg packages on themselves via the DEPCHAIN_* handling code. These don't actually cause any problems, but they do complicate dependency graphs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26guile: Add continuation marker to create_wrapperSaul Wold
This was causing the x86_64-linux-guile script to not have all the environment bits needed V2: Forgot PR Bump! [YOCTO #2835] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier ↵Richard Purdie
handling of native path issues If something is listed in ASSUME_PROVIDED but also manually built (like bzip2-native and bzip2-replacement-native), we need to ensure that the installed binaries are only accessed for things which list the provider in DEPENDS. This patch adds a generic mechanism to handle this instead of everything reinventing the wheel. EXTRANATIVEPATH += "perl-native" will ensure that ${STAGING_BINDIR_NATIVE}/perl-native is added to PATH. This means that: a) Such providers should install to ${bindir}/xxx-native b) Should PROVIDE += "xxxx-replacement-native" c) That users should DEPEND on xxx-replacement-native and have EXTRANATIVEPATH += "xxx-native" This patch enables this at the core level, the bzip2 recipe still needs adjusting to work like this along with adjustment of the users of bzip2-replacement-native (python-native?). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26staging.bbclass: Add support for invalidtasks parameter (see bitbake change)Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26linux-yocto/rt: update BSP preempt-rt.scc files to enable live bootBruce Ashfield
Updating the meta branch SCREV to pickup the preempt-rt commits to fix live boot on the x86 boards: 7ff48aa sys940x: Append default preempt-rt policy 052ecea sugarbay: Append default preempt-rt policy b8230e3 jasperforest: Append default preempt-rt policy 7fb788a chiefriver: Append default preempt-rt policy ffbb5ea romley: Append default preempt-rt policy 5fe5f68 cedartrail: Append default preempt-rt policy 85bee0c atom-pc: Append default preempt-rt policy Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDSXin Ouyang
[YOCTO #2829] mtools commands use cp850 as the "mtools_default_codepage", they would use this to do some coverting tasks. So, add glibc-gconv-ibm850 to RDEPENDS for mtools commands to run correctly. Also add other MSDOS/FAT codepages related packages to RRECOMMENDS. Code Pages for MSDOS/FAT: *http://msdn.microsoft.com/en-us/library/cc195051.aspx Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26meta/lib: remove test.pyPaul Eggleton
This looks like it was added by accident in OE-Core revision 7903433898b4683a1c09cc9a6a379421bc9bbd58. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26telepathy-glib: fix a build raceRoss Burton
[YOCTO #2462] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26readline: add missing macros in acinclude.m4Fahad Usman
some bash macros are missing from acinclude.m4 which are added up-stream. This wasn't actually breaking anything but but it was causing the configure script to not run all the tests it's intended to run. move the acinclude.m4 from "files" folder to version specific folders so that readline-5.2 continue to use the older acinclude.m4 only readline-6.2 use the updated one Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26byacc: upgrade to ver. 20120526Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26libpcap: upgrade to ver. 1.3Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26iptables: upgrade to ver. 1.4.14Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26findutils: fix sort dir on updatedbRoy.Li
[YOCTO #2826] m4/nullsort.m4 tries to find sort dir, and write it to updatedb, but nullsort.m4 is checking the host dir. Once the sort dirs on target and host are different, updatedb will fail due to wrong sort dir. Since we always have sort under ${bindir}, so we can assign it directly. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26slang 2.2.4: fix the pcre existence checkingRoy.Li
[YOCTO #2820] when check if there is pcre, the configure file always check the host dir. now we make it work by adding correct prefix for cross-compile environment. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26libpcre: upgrade to ver. 8.31Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26telepathy-mission-control: upgrade to ver. 5.13Cristian Iorga
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26liburi-perl: update to 1.60Kang Kai
Update to 1.60 Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26ltp: update to version 20120614Kang Kai
Update ltp to version 20120614 and update license files at same time. Remove the patch because it has been merged. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26qmmp: update 0.6.1Kang Kai
Update qmmp to 0.6.1 Remove spaces at end of lines. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26Add missing Upstream-Status to various patches.Mark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-07-26busybox:udhcpc: fix the root_is_nfs() functionRoy.Li
[YOCTO #2788] The system will be hung when udhcpc starts, if nfs is mounted at "/" directory and default route is different after starting udhcpc. The cause is that root_is_nfs() does not work after kernel-2.6.37, since the device name has been changed from /dev/root to ${IPADDR}:${NFSDIR} on /proc/mounts. which leads to remove the default routes to nfs server, Now we use a loose match to check if rootfs is nfs. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26xinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"'Robert P. J. Day
Besides being clearly broken, that line is unnecessary as that file is already being picked up from this line in xorg-app-common.inc: FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/" Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26busybox: fix the problem that mkfs.minix.tests fails on big endian platformYao Zhao
patch mkfs.minix.tests to have correct md5sum on big endian platform. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26core-image: remove x11-netbook package group, it's unusedRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26eglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not setKhem Raj
poky-tiny disables certain eglibc options which gives good excercise for eglibc's componentized builds. This patch essentially updates the GLRO patch to account for additions of GLRO(dl_debug_mask) and converts them to GLRO_dl_debug_mask Secondly adds a new patch where it was creating a undefined alias because we were using INTUSE macro which got exposed when we disable OPTION_POSIX_WIDE_CHAR_DEVICE_IO Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26gcc-cross-initial: Stage self sufficient fixed limits.hKhem Raj
currently gcc installs a limits.h which references to another limits.h which it expects from target sysroot and that header in target sysroot will come from eglibc. So we need to break this catch-22 and hence we install a self sufficient limits.h which is then happy when referenced and doesnt complain about missing limits.h from target sysroot. This is mostly used when eglibc-initial configure is run Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26eglibc-initial: Fix build failure due to missing limits.hKhem Raj
We have had these things in place to overcome a limitation from our gcc-initial-cross not staging a self sufficient limits.h. Now thats fixed we do reset TOOLCHAIN_OPTIONS to point to sysroot where linux kernel headers are staged and not the bootstrap sysroot which will infact be popuated by eglibc-initial itself. Secondly we dont need to set CPPFLAGS specially as we are doing that in eglibc.inc so we override that Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26classes/package_deb: add PackageArch fieldPaul Eggleton
If we want to query the PACKAGE_ARCH from the installed package (as we do in order to be able to do a pkgdata lookup for example) then we need to have this stored in its own field as this is not always the same as the Architecture field for deb packages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26package.bbclass: Create symlinks for packages with different packaged nameAndrei Gherzan
While generating license.manifest package information is searched in: filename=`ls ${TMPDIR}/pkgdata/*/runtime/${pkg}| head -1` This is ok as long as package name is the same as the package name after packaging. For example dbus is packaged as dbus-1. So, searching ls ${TMPDIR}/pkgdata/*/runtime/dbus-1 will fail because there is no file with this package name. Create a symlink to the pkgdata file in a runtime-reverse directory so that these reverse lookups are possible. Fixes [YOCTO #2638]. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>