summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2010-03-21src_distribute: simplify do_distribute_sourcesChris Larson2
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-21base.bbclass: add popen/system convenience functionsChristopher Larson2
Provides oe_popen, which is a subprocess.Popen wrapper that automatically provides our exported variables in the environment, including the PATH, and oe_system, which is just a wrapper that acts like system. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-03-21cmake.bbclass: force CMAKE_INSTALL_SO_NO_EXE to be 0Roman I Khimov1
By default cmake guesses whether install shared libaries with exec permissions or not based on host distribution, so this behaviour changes from host to host. OpenEmbedded assumes shared libraries to be with exec permissions (reverse way brakes stripping, for example), so let's force this in cmake configure invocation. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Ash Charles <ashcharles@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-03-20perl: remove versions 5.8.4 and 5.8.7Roman I Khimov3
Obsolete, not used. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-03-19utility-tasks: unbork do_{clean,rebuild,mrproper,distclean}Chris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-19base: erk, don't remove do_setscene from EXPORT_FUNCTIONS, sillyChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-19Initial split of base.bbclassChris Larson6
Acked-by: Richard Purdie <rpurdie@linux.intel.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-19Don't inherit siteinfo in base.bbclassChris Larson3
Acked-by: Richard Purdie <rpurdie@linux.intel.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-19base.bbclass: Add note about base_path_relativeChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-17packaged-staging: Fix packagaging of cross packagesJoshua Lock1
packagedstaging_fastpath() was only copying the contents of CROSS_DIR to PSTAGE_TMPDIR resulting in the folders contents being packaged and then installed incorrectly at the top level of CROSS_DIR rather than in HOST_ARCH specific sub directories. This patch fixes that issue by copying the directory and its contents rather than just the directory contents. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-17sourcepkg: save lots of space by only making the diff arch specificKoen Kooi1
2010-03-16packaged-staging: Grab the staging lock before we copy and test the stamps soTom Rini1
that we don't have other threads try and validate or install based on them being valid. This is a potential issue for certain BB_STAMP_POLICY (such as the default) values and enough concurrent threads. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-03-16xilinx-bsp.bbclass: add support for xilinx ml507Adrian Alonso1
Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2010-03-16sourcepkg: split per package arch to catch arch overrides as wellKoen Kooi1
2010-03-15sourcepkg: replace python with shell to avoid problems with packaged-stagingKoen Kooi1
2010-03-15sourcepkg.bbclass: OE's quilt now puts patches in patches/ instead of .pc/, ↵Koen Kooi1
so add that to the blacklist as well
2010-03-15sourcepkg.bbclass: put files in ${PN} subdir to avoid cluttering up the dir ↵Koen Kooi1
and generate diff *after* configure to pick up e.g. sed magic as well
2010-03-15src_distribute_local: fix quotingMarcin Juszkiewicz1
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-15base.bbclass: fix quoting for md5/sha256 checksums checkingMarcin Juszkiewicz1
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-15base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual ↵Richard Purdie1
URLs (from Poky)
2010-03-11base: don't write to system /etc dir, use new STAGING_ETCDIR insteadMartin Jansa1
* ETCDIR instead SYSCONFDIR, because there already was STAGING_ETCDIR_NATIVE Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-03-11base: also stage ${sysconfdir}Phil Blundell1
2010-03-11bitbake.conf: introducing new image fstype .cpio.gz.u-bootSteffen Sledz1
* initrd images need to be prepared with mkimage to be usable from u-boot Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Martyn Welch <martyn.welch@gefanuc.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-03-09qemu: remove 0.9.xRoman I Khimov3
QEMU 0.9.x is obsolete this days and with all modifications made for QEMU 0.10.x in OE, versions 0.9.x are unusable anyway. 0.10.3 was introduced 10 month ago, so a good transition time was also given. Now it's time to just kill it. Also remove cvs and svn versions since those are 0.9.x leftovers and QEMU moved to git long ago. Also remove gcc3 checks since that are not relevant for QEMU 0.10+. Also remove from icecc blacklist, since QEMU builds fine with it and the reason for blacklisting was GCC 3. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-09sanity: remove /proc/sys/vm/mmap_min_addr checkRoman I Khimov1
Binary locale generation fails on openSUSE 11.2 and probably would fail on some other hosts with 2.6.31+ kernels since mmap-ing page zero may be forbidden for security reasons even with /proc/sys/vm/mmap_min_addr set to 0 (this also affects Ubuntu 9.10, although it's been fixed there: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/423513 ). This is not a problem for recently introduced qemu 0.12.3 since it can relocate binaries now, which is tested on openSUSE 2.6.31 kernel with mmap_min_addr=65536 and Debian lenny 2.6.26 with mmap_min_addr set to 0, 4096, 65536. Given that, this check is just useless. Unfortunately, it also means that for reliable builds we have to remove qemu 0.10 which can't work with some kernels. Patch will follow to do that. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-08package_ipk: ensure pkgdest/root dirs exist before the lockfile/chdirChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-08base.bbclass: provide shortcut syntax for first anonymous entry in SRC_URIBernhard Reutner-Fischer1
2010-03-04kernel.bbclass: pass ${KERNEL_VERSION} to depmod -aMichael Smith1
The postinsts for kernel-image and modules run "depmod -a" on the target, but this only updates the old kernel's modules.dep. "depmod -a ${KERNEL_VERSION}" updates the files in /lib/modules/${KERNEL_VERSION}. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-04rootfs_ipk.bbclass: move rootfs postprocess commandChris Conroy1
I ran into a problem yesterday where the ROOTFS_POSTPROCESS_COMMAND started failing after I turned off ONLINE_PACKAGE_MANAGEMENT. It seems the problem is that if package management is turned off, then the opkg directory gets deleted. Subsequent opkg commands in the ROOTFS_POSTPROCESS_COMMAND fail to open the lock file because the directory is gone. This patch simply moves the postprocess command above the destruction of the opkg directory to allow any such commands to complete successfully. Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-03qemu: Move gcc version check, qemu-TARGET logic into qemu.bbclassTom Rini4
Move the logic to determine what qemu-TARGET to run into qemu.bbclass so we can check for the right binary in sanity.bbclass. This code was duplicated by glibc-package and eglibc-package anyhow and with the new fn we can clean up the usage in these classes a bit. Now that we have a class for qemu stuff, and the gcc check is just for qemu, move it there.
2010-03-03firefox: Perform a number of cleanups and fix consistency issues.Tom Rini1
- parallel builds need to happen via MOZ_MAKE_FLAGS and it gripes if still passed -jN, so keep the old value before we clear it. - Move the HOST_LIBIDL stuff into configure, otherwise bad things happen when you don't have pkg-config on the build host. - Prior to 3.6, wireless-tools can be, or not be built already and the Necko wifi options deals. With how 3.6 is configured, it must be disabled or DEPENDED on. For consistency, turn it off. - In 3.5 and newer, libnotify can be used, add it to DEPENDS (could be disabled). - Because of both of the above, bump PR. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-03-02Add glibc-pic packageTom Rini1
glibc-package.bbclass: Add glibc-pic package By default, in our glibc builds we don't have these libraries. They may however come from various binary toolchains, or custom source builds. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-03-02qemu: Perform our sanity checks based on ENABLE_BINARY_LOCALE_GENERATIONTom Rini2
Perform qemu-related checks not based on if we're ARM but based on if we'll be using qemu for binary locale generation. Clarify what the first of these sanity checks does. Next, change the check for a provided qemu binary to be generic enough to work on all arches (and catch distribution or user built versions of qemu). While we're in here, correct the gcc version check code in base.bbclass. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-03-02base.bbclass: create tmp/legacy-staging.log file with names of recipes which ↵Marcin Juszkiewicz1
need work Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-03-01Revert "package.bbclass: when running 'file', be explicit about the path to ↵Chris Larson1
the magic" Drop this for now, as apparently the magic file location varies with 'file' version. I'll just patch file to find it relative to the binary location instead. This reverts commit 1b5e7041ae3b26b7e59c76bd2f2fd72e35492940.
2010-02-26package.bbclass: when running 'file', be explicit about the path to the magicTom Rini1
This works around one relocation issue. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-25nativesdk.bbclass: Fix various DEPENDS handling bugs and add to OVERRIDES ↵Richard Purdie1
(from poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-25Revert "base.bbclass: use bb.utils.*_sum instead of calling md5/sha sum ↵Chris Larson1
commands" Back this out for the time being, things are exploding now. This reverts commit df32920678d15c86897b50b752b937210a01edea.
2010-02-25cross.bbclass: keep TARGET_SYS & TARGET_PREFIX independent.Christopher Larson1
Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Michael Smith <msmith@cbnco.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-02-25base.bbclass: use bb.utils.*_sum instead of calling md5/sha sum commandsRoss Burton1
Patch courtesy the Poky project. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-02-25testlab.bbclass: use opkg.conf from staging, always specify tmp_dir in ↵Martin Jansa1
opkg-cl call with -t parameter * Use opkg.conf from staging in the same way as do_rootfs does * When option tmp_dir is used in opkg.conf installed on rootfs then it's used also in do_rootfs call and points to probably non-existent directory on buildhost like /var/lib/opkg/tmp. * The value of tmp_dir from rootfs is used even with another config file specified with -c parameter * Before this, it was using default value (/tmp) on buildhost, now it will use own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish (usually already empty inside, cleaned by opkg itself) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org>
2010-02-24rootfs_ipk.bbclass: always specify tmp_dir in opkg-cl call with -t parameterMartin Jansa1
* When option tmp_dir is used in opkg.conf installed on rootfs then it's used also in do_rootfs call and points to probably non-existent directory on buildhost like /var/lib/opkg/tmp. * The value of tmp_dir from rootfs is used even with another config file specified with -c parameter * Before this, it was using default value (/tmp) on buildhost, now it will use own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish (usually already empty inside, cleaned by opkg itself) * Similar patch for testlab.bbclass will follow Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-02-23insane: check for .debug as a path component, not part of the path stringChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-19Revert "package.bbclass: when running 'file', be explicit about the path to ↵Chris Larson1
the magic" Forgot to check a git status / log before pushing :) This reverts commit bd711cfab09394b6f3064eaed24b8761edc19f19.
2010-02-19package.bbclass: when running 'file', be explicit about the path to the magicTom Rini1
This works around one relocation issue. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-16kernel.bbclass: prepare for 2.6.33 header move and simplify logic a bitKoen Kooi1
2010-02-15e*bbclass: run autopoint in configureKoen Kooi2
* remove config.rpath stuff from recipes
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>