aboutsummaryrefslogtreecommitdiffstats
path: root/classes/insane.bbclass
AgeCommit message (Collapse)Author
2010-10-10insane.bbclass: If LIBTOOL_HAS_SYSROOT is set then do not check for la insanityKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-04insane.bbclass: Skip '.pc' in qa_configureTom Rini
The files in the .pc directory won't have anything useful in them and are often unreadable so lets just skip them. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-09-27insane.bbclass: Recognise mips64 and mips64elKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-09insane.bbclass: run qa_staging before do_package_stage, rather than do_buildChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-26instane.bbclass: added nios2Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-06-20insane.bbclass: minor change: relayouted, sortedFrans Meulenbroeks
Sorted the entries alphabetically (except for x86_64 which I kept with the intel group). Made sure the tables are all indented the same way. replaced some tabs with spaces Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-06-08insane.bbclass: set PATH before calling desktop-file-validateMartin Jansa
* otherwise fails on hosts without desktop-file-utils installed, because cannot find binaries from desktop-file-utils-native Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-05gettext enhancements: Make it easier to use the right gettextJoshua Lock
This patch adds a check to insane to ensure that gettext exists in the dependancy list when it is used in the configure.[ac|in] Further we enhance the gettext class to enable easy addition of the required gettext dependancies by inheriting the gettext class. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
populate_staging task to populate_sysroot This change, pulled from Poky, makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-08insane.bbclass: add x86_64 architecture for linux-uclibcVladimir Sorokin
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-04-02insane.bbclass: Switch to endswith() and fix la/pc checkTom Rini
This changes insane.bbclass to use s.endswith("str") rather than s[-3:] == "str". The primary motivation for this is that we have tests that check for 'la' and 'pc' files when we really want '.la' and '.pc' to be what we check for. Also, our -dev symlink test does if test1: if test2 and test3: action, when it could just be if test1 and test2 and test3. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
2010-02-23insane: check for .debug as a path component, not part of the path stringChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-01-02Add mips entry for linux-uclibc into package_qa_get_machine_dict of ↵Guo Hongruan
insane.bbclass * Without it the insance check will fail due to key miss exception. Signed-off-by: Guo Hongruan <camelguo@gmail.com>
2009-11-16insane.bbclass: Remove hardcoded path PKGDEST issueRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-10classes: Use linux-gnuspe instead of non existing linux-speKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-10conf: Decosmetize TARGET_OSKhem Raj
* This patch reverts the cosmetic change which used linux-gnu instead of linux Signed-off-by: Khem Raj <raj.khem@gmail.com> Tested-by: Holger Freyther <zecke@selfish.org>
2009-10-07insane.bbclass: Use linux-gnu for TARGET_OSKhem Raj
* Add linux-uclibcspe Signed-off-by: Søren Holm <sgh@sgh.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-09-03OpenEmbedded: Switch to using linux-uclibceabi and linux-gnu for TARGET_OSKhem Raj
* Bump the ABI_LAYOUT. Build from scratch will be needed. * Replace using TARGET_OS from linux->linux-gnu. * Replace using linux-uclibcgnueabi->linux-uclibceabi. * Add 'eabi' to DISTRO_FEATURES (only for minimal and micro). * Use eabi and BASE_PACKAGE_ARCH to compute real TARGET_OS. * Fix the micro conf to get console image building. * Fix the linux-uclibcgnueabi overrides in all recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Phill Blundell <pb@reciva.com> Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
2009-05-14First pass of cleanup of messages outputted to the user.Chris Larson
OpenEmbedded outputs a lot of messages that the user is likely to never care about. We should only output something when it reflects upon their recipe (i.e. unpacking their sources, applying their patches), or is quite significant or unusual. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-04-28insane.bbclass: Split package_qa_check_devdbg and don't run -dev check on ↵Tom Rini
SDK packages. We create package_qa_check_dev/package_qa_check_dbg checks. While in here clarify the comments as to what both are doing. Since SDK packages don't get split like normal ones, it's OK to have -dev stuff in non-dev packages. Suggested by Richard Purdie Acked-by: Koen Kooi <koen@openembedded.org> Signed-off-by: Tom Rini <trini@embeddedalley.com>
2009-04-17insane.bbclass: add an entry for darwin9/armJeremy Lainé
2009-04-08insane.bbclass: make "LDFLAGS ignored" QA errors fatalJeremy Lainé
2009-04-02insane.bbclass: document error class "9" (LDFLAGS ignored)Jeremy Lainé
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-02-04insane.bbclass: Fix MIPS and GNU_HASH check.Tom Rini
MIPS doesn't do GNU_HASH so if objdump tells us "[mips32]" or "[mips64]" then set sane = True
2009-01-10insane.bbclass: Fix thinko in package_qa_check_staged logic for iscrossnativeTom Rini
2009-01-09insane.bbclass: Add handling for canadian classesRichard Purdie
2008-11-18insane.bbclass: Optimisation to speed up the package qa phaseHolger Hans Peter Freyther
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 Freyther
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 Freyther
With bitbake -b this broke, import bb to make the python runtime happy.
2008-10-04insane.bbclass: let sh4 arch play with uclibcHenning Heinold
2008-06-16insane.bbclass: add linux-gnuspe as valid targetDirk Opfer
2008-03-19insane bbclass: add '8' (.la references workdir) to list of fatal errorsKoen Kooi
* 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 Purdie
native/cross, find desktop-file-validate from PATH so it can be ASSUME_PROVIDED (from poky)
2008-03-15Reverse accidental changes in dc0f5b4ef4b836d72bf43dffa503ab86e6f7de54Richard Purdie
2008-03-15gcc: Some futher .bb -> .inc changesRichard Purdie
2008-03-04Change staging layout to match the target system layout. WARNING - staging ↵Richard Purdie
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 Lauer
2007-12-29insane.bbclass: make it more consistent. Fixes the following:Cyril Romain
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 Freyther
2007-12-26classes/insane.bbclass: Handle non-elf files gracefully (again)Holger Freyther
2007-12-26classes/insane.bbclass: Separate the workdir test and make it fatalHolger Freyther
2007-12-26classes/insane.bbclass: Make .la failures non-fatal the right way, split up ↵Holger Freyther
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 Freyther
2007-12-26classes/insane.bbclass: Try to increase readability, remove deadcode, ask to ↵Holger Freyther
make desktop errors fatal
2007-12-26classes/insane.bbclass: Removal of whitespace and tabsHolger Freyther
2007-11-23insane.bbclass: add package_qa_get_machine_dict() entries for linux-uclibc / ↵Jeremy Laine
i*86
2007-11-14insane.bbclass: merge dot desktop check from pokyKoen Kooi