aboutsummaryrefslogtreecommitdiffstats
path: root/classes/autotools.bbclass
AgeCommit message (Collapse)Author
2010-11-18help2man: Add native recipe, drop check for being provided.Tom Rini
With a recent change to auto* to not build the man pages for native recipes, we can make build progress without help2man being there already. This adds help2man to local.conf.sample as an example of something that is assumed to be provided, drops the sanity.bbclass check and adds a help2man-native recipe. In order to catch the cases where help2man is likely to have been an implicit requirement before we add it to the list that autotools brings in. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Michael Smith <msmith@cbnco.com>
2010-10-24autotools.bbclass: Use STAGING_DIR_HOST for libtool sysrootKhem Raj
${STAGING_DIR}/${MULTIMACH_HOST_SYS} will point to machine dir for machine specific recipes like shadow, where it should point to target sysroot, which is the correct location of sysroot. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-23autotools.bbclass: Specify a value of sysroot instead of asking the compilerKhem Raj
If we just use --with-libtool-sysroot then it asks the compiler at configure time to supply the sysroot which will not work with external toolchains because they may have different default sysroot encoded into them. Therefore we specify the sysroot so the configure can use that value and not depend upon compiler to supply one. We do not do it for native recipes as the native compiler should fall back to /usr prefix and not solely depend on sysroot otherwise we end up staging everything in native sysroot before we start to build target recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-22autotools.bbclass: Use --with-libtool-sysroot instead of --with-sysrootKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-19autotools.bbclass: Move --with-sysroot to CONFIGUREOPTSKhem Raj
* This is added to CONFIGUREOPTS so it can be filtered out when needed. Recipes like gcc need this to be filtered Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-10autotools.bbclass: Conditionally use autotools_prepackage_lamanglerKhem Raj
* autotools_prepackage_lamangler is not needed with libtool 2.4+ * add --with-sysroot when using libtool 2.4+ 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-07-26Siteinfo cleanup v2Chris Larson
- Don't supply site files for native. - Split up the site information, so we don't need to add every single combination of os and architecture to the siteinfo.bbclass. - Drop the ${FILE_DIRNAME}/site-<bits> stuff, there are other ways to do it. - SITEINFO_ENDIANESS -> SITEINFO_ENDIANNESS. Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-06-24Rename base_dep_prepend and autotools_dep_prependChris Larson
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 Raj
* 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 Larson
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 Lock
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 Scholz
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 Larson
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' Carikli
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 Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10native.bbclass: Add BBCLASSEXTEND support (from poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10autotools.bbclass: Separate out useful staging functions into base.bbclass ↵Richard Purdie
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 Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10Start removal of layout_* variables and replace these with new mechanisms to ↵Richard Purdie
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 Purdie
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 Purdie
searches (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-09autotools.bbclass: Remove pointless inherit (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-13autotools.bbclass: sdk packages should not depend on libtool-crossTom Rini
2009-04-18autotools.bbclass, distutils-common-base.bbclass, bitbake.conf: Fully ↵Stanislav Brabec
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 Raj
* 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.bbclassjohn_lee/openmoko-toolchainJulian_chu
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 Dmytriyenko
pass to oe_runconf Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2008-10-19autotools: also stage python files in ${prefix}/libPhil Blundell
2008-08-08autotools.bbclass: check if pkgconfig dir exists before trying to copy out ↵Koen Kooi
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 Purdie
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 Woestenberg
85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.
2008-05-06autotools.bbclass: Remove -t option from cp, there is no longer any need for ↵Richard Purdie
it (closes #4210)
2008-04-02autotools.bbclass: Replace cp with autotools_stage_dir.Robert Schuster
2008-03-23autotools.bbclass: enable installing .pc files on demandMichael Lauer
(see file for lenghty explanation)
2008-03-20autotools.bbclass: Merge autotools_stage_all with changes in Poky. Removes a ↵Richard Purdie
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 Kooi
2008-03-19native, autotools bbclass: check if bindir exists before trying to access itKoen Kooi
* hardcoded since native.bbclass redefines ${bindir} and friends :(
2008-03-19autotools, native bbclass: try harder to stage native binariesKoen Kooi
2008-03-19native and autotools bbclass: use autotools_stage_all instead of oe_runmake ↵Koen Kooi
install for staging native packages
2008-03-19autotools.bbclass: Sync with poky - don't add libtool-cross to sdk package ↵Richard Purdie
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 Purdie
2007-12-27classes/autotools.bbclass: Use bruteforce and set installed=yes to =noHolger Freyther
This is silenting issues with various libtool files that have installed=yes.
2007-10-29autotools.bbclass: Reference STAGING_DATADIR (from poky)Richard Purdie
2007-07-25autotools.bbclass: run sed over .la files to removes various occurences to ↵Koen Kooi
staging, workdir and ${D}
2007-05-15libtool, autotools.bbclass: merge fixes for 1.5.10 from pokyKoen Kooi
* 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 Kooi
some packages
2006-01-04Revert the changes from revisions 65af73a95a851d2e8c3cf2f523f1acc488be0208, ↵Richard Purdie
28f020502e7dcf566733f474864c62156895baec, 7de90a055904c4af8890dd5ae8c192bfd41b3fa1
2006-01-02autotools.bbclass: use autotools_stage_all as default do_stagePhilipp Zabel
2005-12-28autotools.bbclass: remove -a (require static) from oelibinstallKoen Kooi
2005-12-27autotools.bbclass: use cp -f to install files to stagingPhilipp Zabel