summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* logging: update existing oe* logging users to the bb* interfaceDarren Hart2011-05-041-8/+8
| | | | | | | | | | | | | | The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug replacements (as well as bbplain and bberror) for the oe* equivalents. Use the new bb* API in preparation to delete the oe* logging API. This patch was automatically generated by a sed script. The result has been visually inspected and used to build core-image-sato for qemux86. (From OE-Core rev: a1f09fce5caba389d0484b169f0cde85d64514fa) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Copy gettext files only if --disable-nls is not setKhem Raj2011-04-281-9/+10
| | | | | | | (From OE-Core rev: 040d4dea9637a4723cbb2a74975130d3b86e569a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools: Pass --disable-silent-rules to configureColin Walters2011-04-121-0/+1
| | | | | | | | | | | | | | | Non-verbose logs are really annoying when trying to debug a build failure. A lot of projects are copying in the flag to use AM_SILENT_RULES which automake gained recently. We need to undo this. We'll get a warning from configure if it's not recognized, but that's fine. (From OE-Core rev: 86a760d8b573cfffaf1ac633fcffdfec748663cb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Fix automake file race issuesRichard Purdie2011-03-101-2/+2
| | | | | | | | | | | | | | If one package is configuring when automake is built, the aclocal-VERSION directory can be created or removed and this can confuse the configure process. Since we always run automake-native, it should always be using the autoake-native aclocal directory for automake files which is the result of this patch. (From OE-Core rev: 2a15188d631a97dc20940f7edc801212e191332f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Drop info directory listings as they're going to be ↵Richard Purdie2011-02-021-0/+4
| | | | | | broken if generated at this point and cause file conflicts Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Drop unused autotools_stage_dir dummy functionRichard Purdie2011-01-271-4/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: Only include aclocal directories if the exist, no point ↵Richard Purdie2011-01-271-3/+6
| | | | | | in creating them Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools.bbclass: libtool sysroot support changesScott Garman2011-01-211-16/+9
| | | | | | | | | | | | | We do not do it for native recipes, as the native compiler should fall back to a prefix of /usr and not solely depend on the sysroot. Otherwise we end up staging everything in the native sysroot before we start to build target recipes. Also remove la mangling code, which is no longer necessary. Commit derived from Khem Raj's OE commits. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* autotools: enable siteconfig by defaultJeff Polk2010-09-101-0/+1
| | | | | | eglibc glibc ncurses uclibc zlib: remove explicit siteconfig Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* autotools.bbclass: Drop a number of legacy functions that shouldn't be (and ↵Richard Purdie2010-08-191-33/+1
| | | | | | aren't) used in poky now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Finally deprecate all legacy do_stage functions. This changes the existing ↵Richard Purdie2010-07-221-7/+0
| | | | | | | | warning into a fatal error if any legacy do_stage functions are found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools: deprecate autotools_stage classJoshua Lock2010-04-271-1/+4
| | | | | | | | | Move the functionality into autotools and ensure all our Poky recipes are no longer using it. Keep the autools_stage class around for OE compatability but just have it inherit autools. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* autotools.bbclass: Allow extraction of the configure arguments for use in ↵Richard Purdie2010-03-291-17/+19
| | | | | | strange testcases Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch ↵Richard Purdie2010-03-191-0/+6
| | | | from Chris Larson]
* autotools.bbclass: Make sure config.rpath is present if neededRichard Purdie2009-11-301-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base/autotools.bbclass: Make sure extra dependencies are not lost for native ↵Richard Purdie2009-11-131-0/+4
| | | | | | and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-3/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Various staging improvement fixupsRichard Purdie2009-11-131-3/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie2009-11-131-45/+4
| | | | | | and call from autotools classes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: No need to fork sed each timeRichard Purdie2009-11-131-4/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Convert .la file mangling to package preprocessing hookRichard Purdie2009-11-131-1/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-171-6/+6
| | | | | | | | | | | | Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Remove pointless inheritRichard Purdie2009-08-121-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Fix to work with configure files with leading whitespaceRichard Purdie2009-07-161-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Detect when we're using autotools_stage_all and ↵Richard Purdie2009-06-111-2/+5
| | | | | | don't hold the lock for as long when that is the case giving a significant performance boost with less lock contention and staging area file timestamp checking required Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_allRichard Purdie2008-11-041-13/+25
|
* autotools.bbclass: Switch stage_autotools_all to change la files itself and ↵Richard Purdie2008-05-121-15/+8
| | | | | | to stop using oe_libinstall git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4459 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: There is no need to use the strange -t option to cp anymoreRichard Purdie2008-05-061-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4442 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Drop enable-maintainer-mode until such times as its been ↵Richard Purdie2008-03-211-1/+0
| | | | | | tested properly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4109 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: fix typo in --enable-maintainer-modeRoss Burton2008-03-201-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4107 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Add autotools_stage_dir to help staging directories and ↵Richard Purdie2008-03-201-19/+19
| | | | | | increase list of directories to stage (include base_sbin, base_bin and libexec) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4098 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Some further tweaks to autotools_stage_allRichard Purdie2008-03-191-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4080 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Fix typosRichard Purdie2008-03-191-3/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4079 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Handle case where is an empty directoryRichard Purdie2008-03-191-1/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4078 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: autotools_stage_all - improve handling of datadirRichard Purdie2008-03-191-4/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4077 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Add handling binary staging capability to ↵Richard Purdie2008-03-191-0/+12
| | | | | | autotools_stage_all for compatible binaries fixing various -native package issues git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4075 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass/native.bbclass: Use autotools_stage_all instead of ↵Richard Purdie2008-03-191-0/+3
| | | | | | oe_runmake install for staging autotooled native packages (from OE.dev) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4056 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: enable maintainer mode when configuringRoss Burton2008-02-111-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3758 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Ensure the current working directory is preserved in ↵Richard Purdie2008-01-291-0/+2
| | | | | | autotools_stage_all git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3620 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Fix so libraries in directories are handled correctly ↵Richard Purdie2008-01-291-8/+18
| | | | | | with oe_libinstall, fixing staging QA issues. Thanks go to Ross for the basic patch. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3618 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Make sure STAGING_INCDIR existsRichard Purdie2008-01-181-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3553 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Really fix autostaging function to correctly handle cases ↵Richard Purdie2008-01-181-1/+1
| | | | | | where only subdirectories of files exist git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3538 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Fix autostaging function to correctly handle cases where ↵Richard Purdie2008-01-181-1/+1
| | | | | | only subdirectories of files exist git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3517 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Reference STAGING_DATADIRRichard Purdie2007-10-291-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3016 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync various classes with OE for various bugfixesRichard Purdie2007-08-081-12/+10
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Fix addition of libtool-crossRichard Purdie2007-05-091-1/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1620 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Add libtool-cross as a default dependencyRichard Purdie2007-05-091-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1617 311d38ba-8fff-0310-9ca6-ca027cbcb966
* autotools.bbclass: Reverse r1603 until we can find a better solutionRichard Purdie2007-05-081-8/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1604 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Handle GTK_DOC_CHECK and GNOME_DOC_INIT in configure.acRoss Burton2007-05-041-0/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1603 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix INTLTOOL usage check (from OE)Ross Burton2007-03-061-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1330 311d38ba-8fff-0310-9ca6-ca027cbcb966