summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
AgeCommit message (Collapse)AuthorFiles
2009-01-10insane.bbclass: Fix thinko in package_qa_check_staged logic for iscrossnativeTom Rini1
2009-01-09insane.bbclass: Add handling for canadian classesRichard Purdie1
2008-11-18insane.bbclass: Optimisation to speed up the package qa phaseHolger Hans Peter Freyther1
If you have a package with many data files (like xserver-xorg-print) the overhead of forking and executing scanelf/objdump on these files is way too high. Change the code to open the file and check if it is an elf file. Pass the result to the checking functions. If we do not have an elf file in front of us do not execute scanelf/objdump. This is a speed increase, it still detects GNU hash, the other parts should continue to work as well but needs some verificiation.
2008-10-28insane.bbclass: Detect if someone is not using our LDFLAGSHolger Hans Peter Freyther1
We started passing --target-style=gnu/both to the linker. If the buildsystem is not picking up our LDFLAGS it will not have this hash in the binary. E.g. this is true for busybox. Add a check to insane.bbclass to check if we have a GNU_HASH in the elf binary. Make this a non fatal QA option until the majority of packages are fixed.
2008-10-27insane.bbclass: import bb to make python happyHolger Hans Peter Freyther1
With bitbake -b this broke, import bb to make the python runtime happy.
2008-10-04insane.bbclass: let sh4 arch play with uclibcHenning Heinold1
2008-06-16insane.bbclass: add linux-gnuspe as valid targetDirk Opfer1
2008-03-19insane bbclass: add '8' (.la references workdir) to list of fatal errorsKoen Kooi1
* this will also trigger on broken libtool archives already present in staging. If you get hit by this: rebuild the offending recipes or do a clean rebuild
2008-03-19insane.bbclass: Only check installed status for packages which aren't ↵Richard Purdie1
native/cross, find desktop-file-validate from PATH so it can be ASSUME_PROVIDED (from poky)
2008-03-15Reverse accidental changes in dc0f5b4ef4b836d72bf43dffa503ab86e6f7de54Richard Purdie1
2008-03-15gcc: Some futher .bb -> .inc changesRichard Purdie1
2008-03-04Change staging layout to match the target system layout. WARNING - staging ↵Richard Purdie1
ABI change. This update completes the conversion of OE.dev to use sysroot and have a staging layout that matches the target system. This means we no longer need to mangle pkgconfig files and can use its sysroot option instead. Users of old toolchains (gcc prior to 3.4 and external ones) may need to add cross-linkage and staging-linkage to their toolchain dependencies. Since this update changes staging layout and the contents of the .pc files it updates the staging ABI and people will need to rebuild.
2008-01-12insane.bbclass: fix formatting of fatal include errorMichael Lauer1
2007-12-29insane.bbclass: make it more consistent. Fixes the following:Cyril Romain1
errors with id >=4 are not logged (the package_qa_write_error() method is actually not called); and error 7 and 8 are missing from the ERROR_NAMES list.
2007-12-26classes/insane.bbclass: Decided to not make the workdir issues fatalHolger Freyther1
2007-12-26classes/insane.bbclass: Handle non-elf files gracefully (again)Holger Freyther1
2007-12-26classes/insane.bbclass: Separate the workdir test and make it fatalHolger Freyther1
2007-12-26classes/insane.bbclass: Make .la failures non-fatal the right way, split up ↵Holger Freyther1
the .la test in two parts -We have a function that can decide if a failure is fatal, use that instead of setting sane = True. -Test for installed and workdir separately. This allows us to ignore a certain error class and complain on others.
2007-12-26classes/insane.bbclass: Try to increase the readabilityHolger Freyther1
2007-12-26classes/insane.bbclass: Try to increase readability, remove deadcode, ask to ↵Holger Freyther1
make desktop errors fatal
2007-12-26classes/insane.bbclass: Removal of whitespace and tabsHolger Freyther1
2007-11-23insane.bbclass: add package_qa_get_machine_dict() entries for linux-uclibc / ↵Jeremy Laine1
i*86
2007-11-14insane.bbclass: merge dot desktop check from pokyKoen Kooi1
2007-10-08classes/insane.bbclass : x64_64 becomes x86_64 which is more usefulGraeme Gregory1
2007-09-29insane.bbclass: Raise exceptions, not strings (from poky)Richard Purdie1
2007-08-10insane: complete blackfin supportKoen Kooi1
2007-06-12siteinfo,insane: blackfin is uclinux, not linuxKoen Kooi1
2007-06-11Blackfin support:Koen Kooi1
* siteinfo.bbclass, bfin-common: autofoo support * kernel-arch.bbclass, linux-libc-headers_2.6.20.bb: bfin -> blackfin mapping for the kernel * insane.bbclass: stubs for bfin arch, needs proper number, but that will get reported when it encounters the first binary * uclibc: config for adsp-bf537-stamp machine * adsp-bf537-stamp.conf: machine description for adsp-bf537-stamp board (http://www.analog.com/en/prod/0%2C2877%2CBF537%25252DSTAMP%2C00.html) The build currently stops in binutils cross with the "ld not supported on this archicture" message
2007-06-03classes/insane: fixed a bug with undefined 'name' and improved output a bit.Michael Krelin1
2007-06-01insane.bbclass: add avr32 supportKoen Kooi1
2007-05-29classes/insane.bbclass: quote filenames to avoid problems with funny ↵Michael Krelin1
characters. Closes bug #2227
2007-05-17insane.bbclass: fix sdk buildsKoen Kooi1
2007-05-12insane.bbclass: add support for ARM EABI/uclibcKoen Kooi1
2007-05-05insane.bbclass: repair last commitKoen Kooi1
2007-05-05insane.bbclass: on check for references to WORKDIR in RPATH, instead of ↵Koen Kooi1
WORKDIR and STAGING [18:23] likewise: would be my proposed fix for now, until we figure out if cross tooling need to RPATH to it's own libs.
2007-04-27insane.bbclass: Re-add -B to scanelf to make it correctly check single RPATH ↵Leon Woestenberg1
occurences.
2007-04-26insane.bbclass: Commented out scanelf format debugging.Leon Woestenberg1
2007-04-26insane.bbclass: RPATH check was always true due to scanelf output including ↵Leon Woestenberg1
the file path.
2007-04-26insane.bbclass: depend on chrpath-nativeKoen Kooi1
2007-04-26insane.bbclass: Broaden check for RPATHs by removing work/ path component.Leon Woestenberg1
2007-04-26insane.bbclass: Fix check for bad RPATHs. This is gonna break builds. Needs ↵Leon Woestenberg1
fixes in the shared library handling.
2007-04-22insane.bbclass: support mipsel - close #2119Thomas Kunze1
2007-04-06insane.bbclass: short circuit architecture check for cross packages (e.g. ↵Koen Kooi1
gcc-cross-sdk)
2007-03-31insane.bbclass: Support armeb EABI.Rod Whitby1
2007-03-15insane.bbclass: Add support for sh4.Jamie Lenehan1
2007-03-09classes/insane.bbclass: Use split and make it work with python2.3 againHolger Freyther1
rsplit was introduced in python 2.4 and is like split but starts to split from the right side. The only difference is obviously if you have maxsplit set (which we don't). So it is fine to remove the 'r'
2007-02-22insane.bbclass: only check for workdir in .pc files, we already forcefully ↵Koen Kooi1
sed out /usr/include references
2007-02-21classes/insane.bbclass: Do not follow links, fix the issue that made koen ↵Holger Freyther1
add bb.fatal udev has a link to host binaries, do not check the architecture of these binaries. We will skip all links for now for the two reasons: -We either point to a file in our package and then we will check it anyway -It is a file for a another package, which will be checked anyway Make architecture mismatch a fatal/insane error and return False. This should fix the issue koen has seen when he added a bb.fatal the make_fatal_error method returns true if the error should be made fatal, in this case our checks need to set sane to False. The return not makes sure this is happening.
2007-02-20insane.bbclass: fix ERROR: Exception:exceptions.TypeError Message:not enough ↵Koen Kooi1
arguments for format string by removing a spurious '%s'
2007-02-20insane.bbclass: unbreak it for 64bit targetsMarcin Juszkiewicz1
Added extra entry into dict to mark 32bit/64bit and use it for manipulating ELF headers. Some architectures would need checking (not OE ones).