summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2009-04-21image.bbclass: reorder do_rootfsRoman I Khimov1
Places do_rootfs function before do_install in image creation process. This change allows multiimage builds, when one image depends on another (before that second image creation raced with do_rootfs for the first one) and uses it for some purpose. Multiimage builds are useful in situations like creating an installer image with initramfs (built in OE) and an image of the target FS (also built in OE) or for building virtualized system images to be placed on target FS. Signed-off-by: Koen Kooi <koen@openembedded.org>
2009-04-21base.bbclass: Combine all checksum.ini files found in BBPATHPetri Lehtinen1
This makes it possible for overlays to have checksum.ini. Signed-off-by: Petri Lehtinen <petri.lehtinen@inoi.fi> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Chris Larson <clarson@kergoth.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2009-04-20bitbake.conf, lib_package.bbclass: fix missing '$' in previous commitJeremy Lainé1
2009-04-20bitbake.conf, lib_package.bbclass: fix packaging of ${base_libdir}/*.soJeremy Lainé1
We need to include ${base_libdir}/*${SOLIBSDEV} in FILES_${PN]} because the shared libraries in ${base_libdir} do not follow the usual *.so.* naming convention, for instance libproc-3.2.7.so.
2009-04-18Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded ↵Stanislav Brabec1
into org.openembedded.dev
2009-04-18autotools.bbclass, distutils-common-base.bbclass, bitbake.conf: Fully ↵Stanislav Brabec2
support datadir/pkgconfig... * http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009963.html
2009-04-18testlab bbclass: disable package graphs when ONLINE_PACKAGE_MANAGEMENT != fullKoen Kooi1
2009-04-17canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual ↵Tom Rini1
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-17lib_package.bbclass: fix package population on darwinJeremy Lainé1
* make use of SOLIBS and SOLIBSDEV to populate FILE_* instead of hardcoded .so.* and .so
2009-04-17insane.bbclass: add an entry for darwin9/armJeremy Lainé1
2009-04-16java.bbclass: Use force (-f) for ln (suggested by Marcin).Robert Schuster1
2009-04-16siteinfo.bbclass: add entry for arm-darwin9Jeremy Lainé1
2009-04-14gtk-icon-cache bbclass: build caches for all icondirs in ${datadir}/iconsKoen Kooi1
2009-04-08insane.bbclass: make "LDFLAGS ignored" QA errors fatalJeremy Lainé1
2009-04-07canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a ↵Tom Rini1
drive letter for sysroot.
2009-04-06kernel,module-base class, bitbake.conf: introduce MACHINE_KERNEL_PRKoen Kooi2
* bandaid till we have a better way to track ABI changes
2009-04-02insane.bbclass: document error class "9" (LDFLAGS ignored)Jeremy Lainé1
2009-03-31scons.bbclass: add staging functionwoglinde1
2009-03-29scons: honor PARALLEL_MAKEwoglinde1
2009-03-26qmake2.bbclass: remove gratuitous export of QMAKE_RCCJeremy Lainé1
2009-03-25qt-embedded: rename to qt4-embedded for consistencyJeremy Lainé1
2009-03-25qt4: make use of qt4-tools-native instead of qmake2-native and uicmoc4-nativeJeremy Lainé1
2009-03-24Revert "cross.bbclass: set autoconf's program prefix to keep TARGET_SYS and ↵Chris Larson1
TARGET_PREFIX decoupled" This reverts commit 114155243344c15847e73598e82d02926443cbf1.
2009-03-24distutils-base.bbclass: Move common functionality to ↵Khem Raj3
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é2
2009-03-24kernel.bbclass: stage more filesKoen Kooi1
2009-03-23base.bbclass: rstrip the git branch/revision.Chris Larson1
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 Larson1
the url. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: Fix typo.Chris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-03-21base.bbclass: revert removal of base_set_filespath until the refs can be ↵Chris Larson1
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 Larson1
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 Larson1
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 Larson1
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 Larson1
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 Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21classes/base.bbclass: Locate the scm base path via BBPATH.Chris Larson1
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 Larson1
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 Larson1
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 Juszkiewicz1
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 Schuster1
2009-03-20cmake.bbclass: Allow out of tree builds with cmake.Robert Schuster1
2009-03-20cmake.bbclass: Allow overriding path-to-source argument for cmake call.Robert Schuster1
2009-03-19package.bbclass: Write out extra useful data into the pkgdata files (from Poky)Richard Purdie1
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 Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-19packaged-staging.bbclass: Add rpm package coverage (from Poky)Richard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky@5382 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-19package_rpm.bbclass: added from PokyRichard Purdie1
Squashed changes from Poky: svn r5067 - package_rpm.bbclass: Update against recent packaging changes and start to implement dependency handling. svn r5100 - package_rpm.bbclass: Fix empty package handling, handle package dependency renaming by adding a missing function call and expand RPMBUILD before changing the dictonary so local PV/PR changes don't break the WORKDIR variable expansion svn r5111 - package_rpm.bbclass: Stop autogenerated dependencies for now, its not functioning correctly svn r5116 - package_rpm.bbclass: files needs to start from / svn r5129 - package_rpm.bbclass: Fix problems with package version with '-' in the version (replace with '+'), improve the Requires and Recommends generation code svn r5131 - package_rpm.bbclass: Add support for postinst and preinst scripts svn r5381 - classes: Split rpm feeds by PACKAGE_ARCH svn r5390 - package_rpm.bbclass: Improve handling of '-' characters in Requires and Recommends fields svn r5393 - package_rpm.bbclass: Fix package version fixing for PKG renamed packages svn r5397 - package_rpm.bbclass: Fix dependency rebuilding bug svn r5413 - package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging package_rpm.bbclass: Don't use the system wide RPM macros. This fixes the build on Fedora 10 where the RPM system macros obliterate the value of BuildRoot that is set in the spec file. package_rpm.bbclass: fix indentation package_rpm.bbclass: fix syntax errors package_rpm.bbclass: save RPROVIDES in packages
2009-03-19rootfs_rpm.bbclass: added from PokyRichard Purdie1
Squashed changes from Poky: svn r5101 - Add rootfs_rpm.bbclass, a start at image generation from rpms. Its not expected to be entirely functional yet. svn r5112 - rootfs_rpm.bbclass: Remove the feed directory before packaging the image svn r5134 - rootfs_rpm.bbclass: Add basic postinstall handling during image creation svn r5143 - rootfs_rpm.bbclass: Fixup broken symlinks due to fakechroot and run any leftover postinstalls on real hardware at first boot svn r5158 - rootfs_rpm.bbclass: Add recommends handling svn r5380 - rootfs_rpm.bbclass: ship rpm and yum in target images svn r5382 - rootfs_rpm.bbclass: Add rpm package coverage svn r5386 - rootfs_rpm.bbclass: use more efficient way to copy packages svn r5391 - rootfs_rpm: set target architecture and do not tell yum which arch we will use svn r5398 - rootfs_rpm.bbclass: Set YUM_ARCH_FORCE svn r5412 - rootfs_rpm.bbclass: remove lock files to get rpm working on device svn r5432 - rootfs_rpm.bbclass: fix platform so rpm will be usable on device svn r5433 - rootfs_rpm.bbclass: remove temporary yum config - rootfs has one from yum package svn r5434 - rootfs_rpm.bbclass: added generation of feed entries svn r5436 - rootfs_rpm.bbclass: added code to generate images from feeds OE changes: rootfs_rpm.bbclass: remove two functions (need rewrite for RPM) install_all_locales and remove_packaging_data_files functions were from rootfs_ipk.bbclass and need to be rewritten for RPM rootfs. rootfs_rpm.bbclass: use DISTRO instead of hardcoded Poky - spotted by Tom Rini rootfs_rpm.bbclass: drop not needed disabled code
2009-03-19Drop pointless rpm_core class. (from Poky)Richard Purdie1
2009-03-17base.bbclass: fix base_get_scmbasepath() to look for recipes/ and fall back ↵Denys Dmytriyenko1
to packages/ while parsing BBFILES Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2009-03-17qtopia-core: drop obsolete packageJeremy Lainé1
* remove qtopia-core package, superseeded by qt-embedded * remove qtopia4core class, superseed by qt4e Acked-By: Mickey Lauer <mickey@vanille-media.de>