aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2010-01-22sanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addrMartin Jansa
* With 2.6.33-rc2-00252-ge9e5521 on my host I noticed that "cat /proc/sys/vm/mmap_min_addr" returns now "cat: /proc/sys/vm/mmap_min_addr: Operation not permitted" Its probably becuse of http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0e1a6ef2dea88101b056b6d9984f3325c5efced3 But I'm not sure if checking CAP_SYS_RAWIO even for reading this value is intentional or just bug which should be fixed in kernel. This patch makes bitbake ignore reading error. Possible QEmu failure is not handled yet. Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Philip Balister <philip@balister.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-12-02java.bbclass: fixed oe_jarinstall for broken symlinksMarcin Juszkiewicz
Code checked for existance of JAR file and if it was present then it had to be removed before symlinking to it. But it was not working sometimes so we forced symlinking. Proper fix is to check "does file exists or is a symlink" which we do now. Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-12-02base.bbclass: Replace os.system with subprocess call.Cory Maccarrone
(This patch is being submitted on behalf of Khem Raj. I am not the original author, nor do I claim any part of this work.) -------------- Often gzip is reporting broken pipe errors with do_unpack of tar.gz files. If you use the commands described above to extract a tar.gz file, gzip sometimes emits a Broken pipe error message. This can safely be ignored if tar extracted all files without any other error message. We do not let python install its SIGPIPE handler and use subprocess call to invoke the command. This is based on the following python bug report. http://bugs.python.org/issue1652 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Philip Balister <philip@balister.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-11-01kernel bbclass: sync with .devKoen Kooi
* stages more directories * adds mkimage step Signed-off-by: Koen Kooi <k-kooi@ti.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-11-01coreutils-native: make mandatory dep for all packagesRoman I Khimov
Gives us guaranteed sane GNU coreutils on any host. Should greatly ease support for various non-GNU host systems and allow to safely remove some other native packages like 'install-native'. Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-07-06base.bbclass: added 'gcc-3.4' to list of gcc3 versions (Debian systems)Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-06base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first. Comment on what ↵Tom Rini
this function is used for primarily. The default gcc3-native that we build is called 'gcc-3.4.6' so look for that one first. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01package_rpm: fix move wrong generated rpm name - closes #5078Lynn Lin
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01Shorten some full paths printed to the user.Chris Larson
Adds a base_path_out convenience function, which prepares a full path for display to the user. The initial implementation just makes it relative to ${TOPDIR}. This function is then used for some messages outputted to the user (packaged-staging, patch application, clean, unpack tasks). Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-07-01First pass of cleanup of messages outputted to the user.Chris Larson
OpenEmbedded outputs a lot of messages that the user is likely to never care about. We should only output something when it reflects upon their recipe (i.e. unpacking their sources, applying their patches), or is quite significant or unusual. Signed-off-by: Chris Larson <clarson@mvista.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-07-01Allow use of Itanium as build machinePeter Chubb
Hi, I have access to a cluster of Itaniums that I want to use as build machines for openembedded. This patch enables Itanium as a build environment. Signed-off-by: Marcin Juszkiewicz <hrw@openembedded.org> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01tinderclient: support sitting behind proxyDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01seppuku: add support for working behind the proxyDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01oestats-client: support working behind proxyDmitry Eremin-Solenikov
Detect if we are behind proxy by checking for HTTP_PROXY variable and use specified proxy for http traffic. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-07-01rootfs_deb: make Packages.gz, not Packages.bz2.Michael Smith
apt ignores Packages.bz2 unless bzip2 exists in /bin/bzip2 (!!). If it's in /usr/bin/bzip2 (e.g. SuSE build host) the image fails to build. Also, remove commented-out check for DEPLOY_KEEP_PACKAGES. Signed-off-by: Michael Smith <msmith@cbnco.com> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org>
2009-06-23fixes wrong license value usage for GPLv2Otavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-06-17fix for MACHINE_KERNEL_PR stuffMarcin Juszkiewicz
This patch unbreaks current behaviour which was introduced by MACHINE_KERNEL_PR variable. As most of target machines do not use it they have PR with broken value (set to "r0" instead of value in recipe). I took other way which makes both types of users happy -- those with MACHINE_KERNEL_PR in use and those without it. By default we set M_K_PR to empty string instead of "r0" - this allows to check is it set at all or not. If it is set then we set PR to this value. Otherwise we ignore existance of that variable and use PR from recipe. Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Philip Balister <philip@balister.org>
2009-05-21kernel, module-base class, bitbake.conf: introduce MACHINE_KERNEL_PRKoen Kooi
Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-05-14patch.bbclass: use hashlib with Python 2.5+ - removes DeprecationWarningMarcin Juszkiewicz
Patch.bbclass change removes DeprecationWarnings too but has to keep compatibility with Python 2.4 so I had to use try/except block because hashlib is 2.5+ Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2009-04-24canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual ↵Tom Rini
gcc/binutils Without this gdb-canadian-sdk would try and build without a host compiler as it wasn't fixing up this missing dep itself. The comment in the bbclass was wrong (checked -g on all recipes using this bbclass).
2009-04-24canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a ↵Tom Rini
drive letter for sysroot.
2009-04-22base.bbclass: Combine all checksum.ini files found in BBPATHPetri Lehtinen
This makes it possible for overlays to have checksum.ini. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Tom Rini <trini@embeddedalley.com>
2009-04-16gnome: update various bits to 2.26, sync with .devKoen Kooi
Acked-by: Philip Balister <philip@balister.org>
2009-04-02insane.bbclass: document error class "9" (LDFLAGS ignored)Jeremy Lainé
Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2009-03-29scons: honor PARALLEL_MAKEwoglinde
2009-03-26qmake2.bbclass: remove gratuitous export of QMAKE_RCCJeremy Lainé
2009-03-25qt-embedded: rename to qt4-embedded for consistencyJeremy Lainé
2009-03-25qt4: make use of qt4-tools-native instead of qmake2-native and uicmoc4-nativeJeremy Lainé
2009-03-24Revert "cross.bbclass: set autoconf's program prefix to keep TARGET_SYS and ↵Chris Larson
TARGET_PREFIX decoupled" This reverts commit 114155243344c15847e73598e82d02926443cbf1.
2009-03-24distutils-base.bbclass: Move common functionality to ↵Khem Raj
distutils-common-base.bbclass Create a new class distutils-common-base.bbclass which holds the common parts that can be used in native and target packages which need to use distutils funtionality. rpm, libxml2, zope are currently using them and needed to use distutils-native-base for native recipes. rpm and libxml need to defer the processing of certain configure parameters which we evaluate using python. So we need to have python-native built before we can process them. Hence we can not use EXTRA_OECONF which is a python variable and gets expanded during parsing recipes and ofcourse we have not yet built python-native. We pass these extra options as a separate shell variable to do_configure which we evaluate when that task is executing.
2009-03-24{qt4e,qmake2}.bbclass: fix definition of QMAKESPECJeremy Lainé
2009-03-24kernel.bbclass: stage more filesKoen Kooi
2009-03-23base.bbclass: rstrip the git branch/revision.Chris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-23base.bbclass: Abort early if localpath() was unable to find a local file for ↵Chris Larson
the url. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: Fix typo.Chris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-03-21base.bbclass: revert removal of base_set_filespath until the refs can be ↵Chris Larson
removed. Also added a deprecation message to it. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-03-21base.bbclass: Add base_path_relative.Chris Larson
base_path_relative returns a relative path from src to dest. Examples: >>> base_path_relative("/usr/bin", "/tmp/foo/bar") ../../tmp/foo/bar >>> base_path_relative("/usr/bin", "/usr/lib") ../lib >>> base_path_relative("/tmp", "/tmp/foo/bar") foo/bar Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style ↵Chris Larson
isn't set. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21bitbake.conf: Move the list of vars shown in the pre-build config display to ↵Chris Larson
here. Now a distro or machine can add their own variables to display. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21cross.bbclass: set autoconf's program prefix to keep TARGET_SYS and ↵Chris Larson
TARGET_PREFIX decoupled Currently, we rely on autoconf's implicit prefixing of outputted binaries for -cross, but that names them based on TARGET_SYS, not TARGET_PREFIX, which keeps the two tightly coupled. By explicitly setting the prefix to the latter, we get around that. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: make oe_unpack_file of dirs use FILESPATH, not FILESDIR.Chris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21classes/base.bbclass: Locate the scm base path via BBPATH.Chris Larson
Currently, if the first item in BBFILES isn't in the main OE repository, the build fails entirely due to a ValueError. This isn't optimal. Rather than searching through BBFILES to find it, which could be slow when BBFILES contains thousands of files, let's just find base.bbclass and use that repository. Also, use better methods to find the git revision and branch, and identify the scm based on the existance of .svn/.git/_MTN to avoid calling out subprocesses unnecessarily. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: Kill the 'Pkg' messages in the event handler.Chris Larson
Now that bitbake operates at a task level, not a package level, the package messages are, at best, useless, and at worst, confusing for the user. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21bitbake.conf: rework FILESPATH generation.Chris Larson
Rework FILESPATH generation to be done in bitbake.conf, avoiding the confusion about it being in multiple places. Adds FILESPATHBASE and FILESPATHPKG which can be manipulated rather than manipulating FILESPATH directly. One usage possibility: FILESPATHBASE =. "${TOPDIR}/files:" Which would let me provide a custom busybox config for this build by copying the defconfig from the openembedded metadata into my build/files/busybox-1.0/ directory, for example. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-20package_rpm.bbclass: files needs to start from /Marcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-20cmake.bbclass: Put mandatory cmake option to endRobert Schuster
2009-03-20cmake.bbclass: Allow out of tree builds with cmake.Robert Schuster
2009-03-20cmake.bbclass: Allow overriding path-to-source argument for cmake call.Robert Schuster
2009-03-19package.bbclass: Write out extra useful data into the pkgdata files (from Poky)Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-19base.bbclass: Add read_subpkgdata_dict function (from Poky)Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966