summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
AgeCommit message (Collapse)AuthorFiles
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).
2007-02-20insane.bbclass: remove commented code to unbreak buildsMarcin Juszkiewicz1
2007-02-20insane.bbclass: reformattingMarcin Juszkiewicz1
2007-02-20insane.bbclass: add i{4,5,6}86Marcin Juszkiewicz1
2007-02-20classes/insane.bbclass: No use to make it bb.fatal if we return False...Holger Freyther1
The idea of insane.bbclass is to report all issues found at once. This is why the checks return True if no error was found and False if at least one was found. At the end of all check runs we will see if at least one check failed and call bb.fatal
2007-02-20insane.bbclass: we really don't want packages with the wrong architecture, ↵Koen Kooi1
so do bb.fatal instead if bb.error symptom: ERROR: Architecture did not match (20 to 3) on /work/ppc603e-angstrom-linux/udev-092-r15/install/udev/sbin/scsi_id This means OE detected type 3 (i386) while it expected type 20 (powerpc), most likely caused by some fool hardcoding 'gcc' as compiler
2007-02-19insane.bbclass: report, but don't die on broken .la filesKoen Kooi1
2007-02-19classes/insane.bbclass: missing import os was added in the .so checkHolger Freyther1
2007-02-19classes/insane.bbclass: check stages .pc and .la for sanityHolger Freyther1
native ones: .la files should have installed=yes (at least I believe this). And somehow some believe this as well, some don't though... some like fakeroot love to install two .la files... non-native: .la should have installed=no both: should not point to tmp/work. libgettext and libltdl(libtool) fails this... happy fixing and arguing
2007-02-19classes/insane.bbclass: Make the .so-check check for symlinks (merge poky ↵Holger Freyther1
r1258,r1195) The .so check now looks for symlinks ending with .so. These are a typical trait of -dev packages and kills a lot of false positives. This was authored by ross and was taken from the poky svn repository.
2007-02-19classes/insane.bbclass: Remove whitespaceHolger Freyther1
2007-02-19insane.bbclass: fix some more ',' vs '%' issuesKoen Kooi1
2007-02-19insane.bbclass: fixesKoen Kooi1
* change "," to "%" so python doesn't die if an error occurs * spell architecture correctly * add arm/eabi tupple that works for stripped binaries, but fails for -dbg binaries (abiversion 0 vs 97)
2007-02-19insane.bbclass: added ia64, alpha, hppa, m68k, mips, s390, sparc based on ↵Marcin Juszkiewicz1
Debian packages
2007-02-19insane.bbclass: added dict entries for mipsel, i386, x86_64Marcin Juszkiewicz1
x86_64 can not be detected properly with this code - needed change: - ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS32)) # only 32 bits + ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS64))
2007-02-18classes/insane.bbclass: Be less verboseHolger Freyther1
2007-02-18classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and EndianHolger Freyther1
Add a small ELF parser and read OSABI, ABIVERSION, ENDIAN and MACHINE. This code compares TARGET_OS and TARGET_ARCH to a list of known versions. Currently we have values for linux and linux-uclibc for arm, armeb and powerpc. mips, i386, amd64, ia64 are missing. ABI wise ARM EABI is missing as well, but koen is likely to enter the values into the documented dict
2007-02-18classes/insane.bbclass: Allow errors to be ignoredHolger Freyther1
Add a method to implement koen's skipping of errors of type .so in non dev package. This will turn into a list of known and acked issues which we decided to ignore. I do not yet know how to maintain such a list properly though Split the .so in non-dev package and the .debug in non-dbg package into two different packages
2007-02-18classes/insane.bbclass: Print the actual error, write a log fileHolger Freyther1
-Print all errors of the built packages and if we have printed any errors fail -Log the errors to a log file, so we can see them afterwards -Print the path (- the TMPDIR) of the package in question
2007-02-16classes/insane.bbclass: Grep through config.log to check for CROSS Compile ↵Holger Freyther1
errors -Inspired by doku's work on mpd's buildsystem grep through the config.log and find broken autotools tests -Make errors fatal so we will notice these things more quickly.
2006-11-29Introduce STAGING_BINDIR_CROSS and STAGING_BINDIR_NATIVE as discussed on the ↵Richard Purdie1
mailing list. There should be no functionality changes yet.
2006-11-06insane.bbclass: update message for -dbg packagesKoen Kooi1
2006-10-26classes/insane.class: Make workdir known, remove whitespaceHolger Freyther1
2006-10-26insane.bbclass: import bbKoen Kooi1
2006-10-25classes/insane.bbclass: Check if packages RDEPENDS on -dbg packagesHolger Freyther1
Untested check inspired by Richard to check if non debug packages depends on -dbg packages.
2006-10-24insane.bbclass: fix some python stuff and make error message a bit more helpfullKoen Kooi1
2006-10-22insane.bbclass: update to current -dbg handling, as indicated by QA meister ↵Koen Kooi1
Holger F.