summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-06-24Rename base_dep_prepend and autotools_dep_prependChris Larson1
When we start including methodpool funcs in the metadata, these blow up, since the _prepend gets evaluated at finalize time. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-05classes/autotools.bbclass: Dont bail out if gettext/config.rpath does not exist.Khem Raj1
* Add a note if this file does not exist. The reason is that gettext can needs libiconv and libiconv needs gettext so we need to solve this catch 22 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-23autotools.bbclass: drop 'cfgcmd' and 'Running ..' outputChris Larson1
Per discussion with Enrico Scholz, there are better ways to debug problems than this, so drop it, making it more consistent with oe_runmake and ensuring we don't see problems with spaces in arguments. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05autotools.bbclass: merge recent changes from PokyJoshua Lock1
Includes an important change to the prepackage_lamangler method which changes which directories we fix la files in to operate with the new directory layout. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-03autotools.bbclass: swapped calls of intltoolize + autoreconfEnrico Scholz1
Because 'intltoolize' checks whether aclocal.m4 contains a recent copy of 'intltool.m4' and it will fail when the found version is too old, 'aclocal' must be called before 'intltoolize'. I built projects it with intltool-0.40.6-r3, autoconf-2.65-r9, automake-1.11.1-r3 and gettext-0.17-r6 successfully with this change but it will require probably tests with older versions. This patch is a requirement for http://patchwork.openembedded.org/patch/1858/ because 'autopoint' from the 'aclocal' call will override 'intltool' files and build will fail then. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-03-19Don't inherit siteinfo in base.bbclassChris Larson1
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-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>
2009-11-16classes: Drop a number of unneeded import calls (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10native.bbclass: Add BBCLASSEXTEND support (from poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie1
and call from autotools classes (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10autotools.bbclass: Convert .la file mangling to package preprocessing hookRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10Start removal of layout_* variables and replace these with new mechanisms to ↵Richard Purdie1
allow nextgen SDK generation (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09autotools.bbclass: Create m4 directory earlier avoding issues with ↵Richard Purdie1
intltoolize (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09autotools.bbclass: Allow for leading whitespace in gettext and intltool ↵Richard Purdie1
searches (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09autotools.bbclass: Remove pointless inherit (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-13autotools.bbclass: sdk packages should not depend on libtool-crossTom Rini1
2009-04-18autotools.bbclass, distutils-common-base.bbclass, bitbake.conf: Fully ↵Stanislav Brabec1
support datadir/pkgconfig... * http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009963.html
2009-03-10autotools.bbclass: Add new pattern to match -L<libdir> in dependency_libsKhem Raj1
* Current pattern match does one think wrong consider something like this dependency_libs=' -L/home/kraj/work/oe/build/eglibc/omap5912osk/work/x86_64-linux/ncurses-native-5.4-r17/ncurses-5.4/lib' this pattern when matched gets converted to dependency_libs=' -L/home/kraj/work/oe/build/eglibc/omap5912osk/staging/x86_64-linux/usr/lib/lib' which is wrong. If we had a '/' appended to original path then it would work. This patch lets it straight.
2009-01-12autotools.bbclass: adding do_install_append() to autotools.bbclassJulian_chu1
This function is used to correct .la files. Many bb files use their own do_install so just adding this into the original autoclass_do_install won't work. This ensures the .la files contain correct path.
2008-11-14autotools.bbclass: allow autotools_do_configure to accept parameters and ↵Denys Dmytriyenko1
pass to oe_runconf Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2008-10-19autotools: also stage python files in ${prefix}/libPhil Blundell1
2008-08-08autotools.bbclass: check if pkgconfig dir exists before trying to copy out ↵Koen Kooi1
pkgconfig files * this is needed because e.g. not all gst recipes have .pc files, be we do want to install the ones that are present
2008-05-12autotools.bbclass: Revert damage from ↵Richard Purdie1
4b02add2b83e66d45ff3e840056487a7274d9011, convert autotools_stage_all to use sed on .la files instead of calling oe_libinstall, remove broken enable-mainainer-mode flag
2008-05-11autotools.bbclass: from OM. Needed as commit ↵Leon Woestenberg1
85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.
2008-05-06autotools.bbclass: Remove -t option from cp, there is no longer any need for ↵Richard Purdie1
it (closes #4210)
2008-04-02autotools.bbclass: Replace cp with autotools_stage_dir.Robert Schuster1
2008-03-23autotools.bbclass: enable installing .pc files on demandMichael Lauer1
(see file for lenghty explanation)
2008-03-20autotools.bbclass: Merge autotools_stage_all with changes in Poky. Removes a ↵Richard Purdie1
typo, adds libexec dir to staging list, works with cross.bbclass, removed info and man data which is pointless in staging and factors out repeated functionality into a separate function
2008-03-19autotools bbclass: sync with poky and expand on itKoen Kooi1
2008-03-19native, autotools bbclass: check if bindir exists before trying to access itKoen Kooi1
* hardcoded since native.bbclass redefines ${bindir} and friends :(
2008-03-19autotools, native bbclass: try harder to stage native binariesKoen Kooi1
2008-03-19native and autotools bbclass: use autotools_stage_all instead of oe_runmake ↵Koen Kooi1
install for staging native packages
2008-03-19autotools.bbclass: Sync with poky - don't add libtool-cross to sdk package ↵Richard Purdie1
depenedncies, use maintainer mode for reconfiguring packages, make sure STAGING_INCDIR exists before installing to is, fix issues with autostaging functions where .la files in subdirectories would be ignored
2008-03-05autotools.bbclass: sdk.bbclass doesn't need libtool-crossRichard Purdie1
2007-12-27classes/autotools.bbclass: Use bruteforce and set installed=yes to =noHolger Freyther1
This is silenting issues with various libtool files that have installed=yes.
2007-10-29autotools.bbclass: Reference STAGING_DATADIR (from poky)Richard Purdie1
2007-07-25autotools.bbclass: run sed over .la files to removes various occurences to ↵Koen Kooi1
staging, workdir and ${D}
2007-05-15libtool, autotools.bbclass: merge fixes for 1.5.10 from pokyKoen Kooi1
* NOTE: 1.5.22 has to be updated as well
2007-02-15autotools.bbclass: merge in patch from openmoko to get intltool working for ↵Koen Kooi1
some packages
2006-01-04Revert the changes from revisions 65af73a95a851d2e8c3cf2f523f1acc488be0208, ↵Richard Purdie1
28f020502e7dcf566733f474864c62156895baec, 7de90a055904c4af8890dd5ae8c192bfd41b3fa1
2006-01-02autotools.bbclass: use autotools_stage_all as default do_stagePhilipp Zabel1
2005-12-28autotools.bbclass: remove -a (require static) from oelibinstallKoen Kooi1
2005-12-27autotools.bbclass: use cp -f to install files to stagingPhilipp Zabel1
2005-12-26autotools.bbclass, base.bbclass: modify autotools_stage_all to use ↵Philipp Zabel1
oe_libinstall and install aclocal macros, too
2005-09-29class autotools: add function 'autotools_stage_all' that automatically stagesMichael Lauer1
include files and libraries for packages that obey DESTDIR. This can be used to remove a lot of duplicated metadata in do_stage() of packages that inherit autotools. Note that you need to call autotools_stage_all manually in do_stage. It may be added to do_stage() eventually, but for now we want to do the transition step-by-step. Feel free to convert do_stage of autotools packages to using autotools_stage_all.
2005-09-19GNU cp has a nice -a switch, sadly the BSD tools lack itHolger Freyther1
update our descriptions to work with any version of cp. Patches that include cp -a are not changed. They seem to work and I'm too scared busybox cp is more like GNU cp than BSD cp. (e.g do not know about P)
2005-08-09autotools.bbclass: add INHIBIT_AUTO_STAGE_INCLUDESMichael Lauer1
native.bbclass: add INHIBIT_NATIVE_STAGE_INSTALL
2005-04-16Merge bk://oe-devel@openembedded-devel.bkbits.net/openembeddedPhil Blundell1
into mebius.reciva.com:/home/pb/oe/oe 2005/04/16 09:13:52+01:00 reciva.com!pb create aclocal-N.N before trying to use it BKrev: 4260c977DOfRPC513Shpw-OP-tZLxA
2005-04-16add versioned aclocal directory to acpaths for autoreconfPhil Blundell1
BKrev: 4260bb65qQlKjLMowOfitF_BjV8z_w
2005-02-15avoid ugly error when configure.in is present, not configure.acPhil Blundell1
BKrev: 42116555rsOpzOKI2ivuWUw6QxQJTQ