aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
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
2009-03-19packaged-staging.bbclass: Add rpm package coverage (from Poky)Richard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky@5382 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-19package_rpm.bbclass: added from PokyRichard Purdie
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 Purdie
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 Purdie
2009-03-17base.bbclass: fix base_get_scmbasepath() to look for recipes/ and fall back ↵mv-packages-to-recipes-postDenys Dmytriyenko
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é
* remove qtopia-core package, superseeded by qt-embedded * remove qtopia4core class, superseed by qt4e Acked-By: Mickey Lauer <mickey@vanille-media.de>
2009-03-16fso-plugin.bbclass: new class for fso plugin packagingMichael 'Mickey' Lauer
vala.bbclass: new class for vala-based packages
2009-03-14Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded ↵Khem Raj
into org.openembedded.dev
2009-03-14java.bbclass: Make oe_makeclasspath more flexible (partly by Marcin ↵Robert Schuster
Juszkiewicz <hrw@openembedded.org>) - converted tabs to spaces - allow entries which have no corresponding jar file (just skip) - document that behavior
2009-03-13Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded ↵Khem Raj
into org.openembedded.dev
2009-03-12Kernel bbclass "too many open files" bugfixJader H. Silva
tempfile.mkstemp() is used to create a temporary file. This function return a tuple with an OS file descriptor and a filename. Filename is stored in "tmpfile" but descriptor is not stored anywhere, but it is still open because it's only an integer to python so it is not closed at the end of the function. For each iteration in which this function is called, a new OS file descriptor is opened, but not closed. The solution is to store the file descriptor and close it.
2009-03-10autotools.bbclass: Add new pattern to match -L<libdir> in dependency_libsKhem Raj
* Current pattern match does one think wrong consider something like this dependency_libs=' -L/home/kraj/work/oe/build/eglibc/omap5912osk/work/x86_64-linux/ncurses-native-5.4-r17/ncurses-5.4/lib' this pattern when matched gets converted to dependency_libs=' -L/home/kraj/work/oe/build/eglibc/omap5912osk/staging/x86_64-linux/usr/lib/lib' which is wrong. If we had a '/' appended to original path then it would work. This patch lets it straight.
2009-03-09Revert "module-base: Fix the test on KERNEL_OBJECT_SUFFIX"Tom Rini
This reverts commit 25b281668e62d90c027978b13b53075534b81d0c. As pointed out by Pieter <pieterg@gmx.com> my logic here was backwards and the code was correct before and this change is incorrect.
2009-03-09native.bbclass: Remove java specific stuff from do_stage again.Robert Schuster
2009-03-09java-native.bbclass: New file.Robert Schuster
2009-03-04package_ipk.bbclass: use bb.utils.prunedir to remove CONTROL directoryMarcin Juszkiewicz
It was removing file by file before and did not removed conffiles file. As a result package_rpm was not able to create package.
2009-03-02Merge branch 'mickey/org.openembedded.dev' into org.openembedded.devMichael 'Mickey' Lauer
Conflicts: classes/qt4e.bbclass packages/bluez/bluez4_4.31.bb packages/mc/mc_4.6.2.bb packages/vte/vte.inc packages/vte/vte_0.16.13.bb packages/vte/vte_0.16.14.bb
2009-02-27qt4[e|x11].bbclass: set ARM_INSTRUCTION_SET to armMichael 'Mickey' Lauer
2009-02-27qt-embedded: restore qtopia4core.bbclass, add qt4e.bbclassJeremy Lainé
2009-02-27qtopia4core.bbclass: depend qt-embedded, qtopia-core is obsoleteJeremy Lainé
2009-02-27qt-embedded: restore qtopia4core.bbclass, add qt4e.bbclassJeremy Lainé
2009-02-27qtopia4core.bbclass: depend qt-embedded, qtopia-core is obsoleteJeremy Lainé
2009-02-25efl.bbclass: touch config.rpath which is necessary for newer automakeMichael 'Mickey' Lauer
2009-02-22image.bbclass: install stuff listed in IMAGE_INSTALL as wellKoen Kooi
rootfs_ipk: task-boot change fixes
2009-02-22rootfs_ipk bbclass: make ONLINE_PACKAGE_MANAGEMENT work on non task-base ↵Koen Kooi
images as well * This fixes the "image broken due to not running postinsts because opkg* isn't installed" type of bugs
2009-02-19task-boot: rename DISTRO_ vars to IMAGE_ vars and move to image.bbclass * ↵Koen Kooi
update users as well Acked-By: Marcin Juszkiewicz <hrw@openembedded.org>
2009-02-17base.bbclass: output messages only if BitBake 1.8 is used (from Poky)Marcin Juszkiewicz
before (with BitBake trunk): NOTE: package linux-2.6.28-r4: task do_compile: started NOTE: package linux-2.6.28-r4: task do_compile: Started after: NOTE: package linux-2.6.28-r4: task do_compile: Started
2009-02-17failure-cleanup.bbclass: class that does -c clean on a package that fails to ↵Koen Kooi
build
2009-02-14icecc.bbclass: base fix for cross and native builds, patch/9Roman I Khimov
2009-02-13package_ipk.bbclass: Add missing : from a045dfacf6f2541e0f410d9d109581f181303756Tom Rini
2009-02-13Merge branch 'master' of ↵Otavio Salvador
git://projetos.ossystems.com.br/git/users/otavio/org.openembedded.dev into org.openembedded.dev * 'master' of git://projetos.ossystems.com.br/git/users/otavio/org.openembedded.dev: flash-plugin: add 10.0.12.36 sun-jre6: add 1.6.0.10 parted: drop versions up to 1.8.8 package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific) cups: add 1.3.8. rt61-firmware: add 1.2