summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2010-02-14zaurus-kernels: move the kernel size check to linux-kexecboot.inc.Andrea Adami1
* no need for DONT_CHECK_KERNELSIZE * clean up the affected files * check happens only if KERNEL_IMAGE_MAXSIZE is set
2010-02-13autotools.bbclass: fix issue with native and sedDenis 'Gnutoo' Carikli1
STAGING_DIR_HOST is "" when using native bbclass: native.bbclass:STAGING_DIR_HOST = "" But in autotools.bbclass there is: sed -i -e s:${STAGING_DIR_HOST}::g $i which result in the following code in run.autotools_prepackage_lamangler sed -i -e s:::g $i which makes libxml2-native fail like this: | sed: -e expression #1, char 0: no previous regular expression I discussed it on IRC: Feb 11 17:41:29 <RP> GNUtoo: We should only be doing that is STAGING_DIR_HOST isn't empty I guess So I made a temporary fix which only workarround,because some issues persist: Feb 11 17:41:02 <pb_> RP: heh, I wonder whether paths with colons in would be considered valid :-} Signed-off-by: Denis 'Gnutoo' Carikli <GNUtoo@no-log.org>
2010-02-11vala.bbclass: dont put config.vapi to stagingMartin Jansa1
* config.vapi is per-app and can be considered as part of the autotools stuff Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-02-11base.bbclass: handle xz compressed files and tarballsBernhard Reutner-Fischer1
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-09sanity: correct misleading message about location of TMPDIRPhil Blundell1
There is no point in telling users to move TMPDIR "back" to its current location :-}
2010-02-03kernel.bbclass: Fix pstaging do_deploy.Tom Rini1
We need to add ${S}/${KERNEL_OUTPUT} with package_stagefile_shell to avoid playing more complex games with the install line. We should also use package_stagefile_shell on the modules tarball as that will not otherwise be reproduced.
2010-02-03packaged-staging.bbclass: removed two superfluous slashesFrans Meulenbroeks1
${SYSROOT_DESTDIR} ends on a / but there is also a / after the variable and a slash as the first character of the next variable. This patch removes the / that is explicitly added so in the generated code we get // instead of the even sillier looking (and probably more confusing) /// Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-02-03Revert "packaged-staging.bbclass: removed two few superfluous slashes"Frans Meulenbroeks1
Accidently tagged another file to this commit, sorry This reverts commit b977bbd442f3d00c884b68c1307bd9b14fb96446.
2010-02-03packaged-staging.bbclass: removed two few superfluous slashesFrans Meulenbroeks1
${SYSROOT_DESTDIR} ends on a / but there is also a / after the variable and a slash as the first character of the next variable. This patch removes the / that is explicitly added so in the generated code we get // instead of the even sillier looking (and probably more confusing) /// Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-02-03packaged-staging.bbclass: added missing $DISTRO_PR}'sFrans Meulenbroeks1
This file was not updated when DISTRO_PR was introduced. Result of it was that packages were not properly added to the packaged staging package (due to faulty filenames being generated). This patch adds ${DISTRO_PR} to the filenames involved Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-02-02distutils-common-base: fix definition of FILES_${PN}-dbgRolf Leggewie1
* use += instead of = this appends new file paths to include instead of replacing the current definition Signed-off-by: Rolf Leggewie <oe-devel@rolf.leggewie.biz> Acked-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
2010-02-01base.bbclass: in base_contains, check for var existance before using itBrian Pomerantz1
When using base_contains() to check for a string in a variable for a, if the variable is not defined an exception occurs. By checking the existance of the variable and returning false if it isn't there, a value can be checked for a variable regardless of whether or not it is defined. Signed-off-by: Brian Pomerantz <bapper@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-01-29Revert "kernel.bbclass only install image in do_deploy if not installing ↵Frans Meulenbroeks1
from packaged staging" This reverts commit 61acb940a7436a43d0894284d25e8d106f461c23. This patch is not as robust as I thought, will reassess the issue at hand later Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-01-29kernel.bbclass only install image in do_deploy if not installing from ↵Frans Meulenbroeks1
packaged staging kernel.bbclass do_deploy has: install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin which expands to install -m 0644 arch/arm/boot/uImage .../deploy/glibc/images/beagleboard/uImage-2.6.29-r51-beagleboard.bin but in packaged staging arch/arm/boot/uImage does not exist so we get the error: install: cannot stat `arch/arm/boot/uImage': No such file or directory This patch only installs uImage if not using packaged staging Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-01-27base.bbclass: pre-create SRC_URI checksums to include in the recipeDenys Dmytriyenko1
Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Frans meulenbroeks <fransmeulenbroeks@gmail.com>
2010-01-27gnome bbclass: change PN to BPN in magic SRC_URI composer to make it work in ↵Koen Kooi1
-native and -sdk cases as well
2010-01-26efl.bbclass: ship edje-externals in .dev packageMichael 'Mickey' Lauer1
2010-01-26gnome.bbclass : add name=archive to SRC_URI so .bb files can use new checksumsGraeme Gregory1
New checksums system needs a name= in the SRC_URI name, so add a default one for gnome.
2010-01-24package_deb.bbclass: make the PACKAGES check earlier so if there is nothing ↵Ricardo Salveti de Araujo1
to package we don't read potentially stale pkgdata from staging. This is basically the commit 27b9bc946eeb3faa7b10d92689ab527af42727bd that got lost when merging poky stuff into the repo. The behavior is much like what we already have with package_ipk. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org>
2010-01-24icecc: introduce ICECC_FALLBACK_PARALLELRoman Khimov1
icecc-blacklisted packages currently built not only without icecc environment set but also without any parallel options enabled. The original intention was not to kill the build machine, I guess, since having a good icecc cluster it's easy to set '-j16' or '-j32' or whatever else which could do so. However as the toolchain packages are blacklisted for icecc they're becoming a bottleneck in the build process, while they can be built with local-machine parallelism. So, in order to solve it, introducing ICECC_FALLBACK_PARALLEL option. It's simply used as PARALLEL_MAKE for icecc-blacklisted packages.
2010-01-24icecc: remove bb.errors on un-built compilersRoman Khimov1
Building things with icecc and BB_NUMBER_THREADS more then 1 you could see a lot of messages: ERROR: no cross compiler built yet? before gcc-cross would be properly built. There is technically nothing wrong, cross compiler is not there yet and it's not needed when bitbake does fetch-unpack-patch and other things to prepare package build. But it makes people uncomfortable. We can safely kill this messages.
2010-01-22recipe_sanity: check RRECOMMENDS/RCONFLICTS and make the message more ↵Chris Larson1
comprehensible Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-22Lets rename conf/amend-recipes.inc to amend.bbclass, for consistencyChris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-22package_dbg: kill the explicit dir listChris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-21kernel.bbclass: fix kernel build, version >= 2.6.33-rc1, arch x86Aleksey Makarov1
* Apply the same change as c0a3e91845fad1cdda723bdcf962de8bc01f8a2d for x86 path * A check was missed in the x86 path of the stage method. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-01-20sanity.bbclass: handle lack of permission to read /proc/sys/vm/mmap_min_addrMartin Jansa1
* 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>
2010-01-20qt3e.bbclass: fix paths for stagingMarcin Juszkiewicz1
Without that patch uicmoc3-native fails to build.
2010-01-19package_dbg.bbclass: add current incarnation from MVL6Chris Larson1
This optional bbclass implements per-subpackage debug packages. Among other things, this makes it much easier to automate creation of debug images (where you have the debug files for all installed packages). Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-16classes/xfce.bbclass: fix SRC_URIRolf Leggewie1
2010-01-14qmake_base.bbclass: Unexport STRIP from the environmentHolger Hans Peter Freyther1
The Makefile's generated by Qt are using this variable and the assignment of STRIP = $(OE_QMAKE_STRIP) will be overturned by this export. One option would be to set STRIP = $OE_QMAKE_STRIP in the bb file but this would break striping in package.bbclass. With the unset STRIP we are able to generate proper -dbg packages for Qt and other qmake based utilities.
2010-01-14images: set SPLASH to "" as sane defaultRolf Leggewie1
Acked-By: Michael 'Mickey' Lauer <mlauer@vanille-media.de> Acked-by: Koen Kooi <koen@openembedded.org>
2010-01-07qt4x11: Cease out the qt4x11 PROVIDERHolger Hans Peter Freyther1
* The LGPL and Commercial edition are actually the same tarball. * If someone sees the need he can take qt qt4-recipes and specify -commercial in the compilation.
2010-01-02Add mips entry for linux-uclibc into package_qa_get_machine_dict of ↵Guo Hongruan1
insane.bbclass * Without it the insance check will fail due to key miss exception. Signed-off-by: Guo Hongruan <camelguo@gmail.com>
2009-12-31kernel.bbclass: copy gz, lzo, lzma initramfs cpio images. - since 2.6.30 ↵Andrea Adami1
there is choice between gzip and lzma for the initramfs.cpio - in patchwork there are pending patches for lzo compressor, so we add lzo too - patch is only concerning initramfs images
2009-12-24native.bbclass: Modify STAGING_DIR_JAVA when native build is in chosen.Robert Schuster1
2009-12-23kernel, linux-kernel-base classes: update for 2.6.33-rc1 and newerMartin Jansa2
* include/asm link was killed in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f7f16b7799ed68654850ab340ef812895aebcf4c * utsrelease.h was moved in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=273b281fa22c293963ee3e6eec418f5dda2dbc83 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2009-12-16java.bbclass: stage all JAR files outside of ARCH related directoriesMarcin Juszkiewicz1
When Java things are build for more then one architecture strange things happen: - first architecture builds fine - next architectures fails to build Thats due to lack of JAR files as they were built as PACKAGE_ARCH="all" but staged as PACKAGE_ARCH="TARGET_ARCH" so BitBake do not build them again but Java classes are unable to find them. Solution is to stage JAR files to non-ARCH directory. I used staging/java for it and build tested with stable/2009 and org.openembedded.dev branches. Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
2009-12-11package, package_ipk: add PKGV, to PV as PKG is to PN.Phil Blundell2
2009-12-02cmake.bbclass: style fix for CMAKE_FIND_ROOT_PATHHenning Heinold1
* this fixes the uninitalize message in CMakeCache.txt
2009-12-02cmake.bbclass: support for seperate building directoryHenning Heinold1
2009-11-29Revert "palmtop.bbclass: fix QA of plugins wrt packaging of -dbg files"Andrea Adami1
This reverts commit 38361a2cd9b962daccf5af7c85d54245e3711f9e. Unfortunately the fix need to be done in the specific recipes. Filtering .so at this stage breaks packaging for other plugins.
2009-11-26Fix so package_tar yet again produces tar packages.Kristoffer Ericson1
This closes bug 5339. Thx to Pb for fix. Signed-off-by: Kristoffer Ericson
2009-11-26e17: bump SRCREV and start adapting it to new-style stagingKoen Kooi1
2009-11-25pkgconfig bbclass: also sed out bogus includesKoen Kooi1
RP says: In theory the recipes themselves should be patched to stop this nonesense getting in there in the first place but that is appropriate for pkgconfig.bbclass
2009-11-24chicken: added support for cross compilation with chickenMario Domenech Goulart1
Added the chicken-cross recipe and a chicken class for translating architectures to the Chicken nomenclature. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-11-23kernel.bbclass: force do_deploy call before do_buildMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-23kernel.bbclass, linux.inc: move do_deploy task after do_packageMartin Jansa1
* Move do_deploy after do_package in kernel.bbclass as RP said * Move devicetree_image before do_deploy in linux.inc, because it creates dependency loop if its between after do_package and before do_deploy. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-23module-strip.bbclass: fix typo, last PKGDEST should be PKGD tooMartin Jansa1
2009-11-23package.bbclass/module-strip.bbclass: Various strip fixesRichard Purdie2
* Turn striping functionality into functions and call in the appropriate place * Removing various races and ordering issues * Should mean kernel modules are correctly stripped (and stripping can be disabled) * Addresses bug 1182 * kernel module stripping applied to ${PKGD} (the correct place) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-23kernel.bbclass: do_deploy modules.tgz should operating on PKGDRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>