Commit Graph

46 Commits

Author SHA1 Message Date
Richard Purdie 7476df3fa2 autotools.bbclass: Drop unused autotools_stage_dir dummy function
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 11:10:57 +00:00
Richard Purdie 35d44a438d autotools.bbclass: Only include aclocal directories if the exist, no point in creating them
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-27 11:10:57 +00:00
Scott Garman 1a7509d673 autotools.bbclass: libtool sysroot support changes
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>
2011-01-21 01:36:15 -08:00
Jeff Polk 2e9d981d76 autotools: enable siteconfig by default
eglibc glibc ncurses uclibc zlib: remove explicit siteconfig

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
2010-09-10 12:57:16 +01:00
Richard Purdie 90e8bc75e3 autotools.bbclass: Drop a number of legacy functions that shouldn't be (and aren't) used in poky now
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19 12:51:37 +01:00
Richard Purdie dc807f54f8 Finally deprecate all legacy do_stage functions. This changes the existing warning
into a fatal error if any legacy do_stage functions are found.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-22 11:44:28 +01:00
Joshua Lock 4d1f39af75 autotools: deprecate autotools_stage class
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>
2010-04-27 17:11:28 +01:00
Richard Purdie fcfbc7b1e7 autotools.bbclass: Allow extraction of the configure arguments for use in strange testcases
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-29 17:04:13 +01:00
Richard Purdie a30f6e968c base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson] 2010-03-19 18:08:35 +00:00
Richard Purdie 66c952cbc2 autotools.bbclass: Make sure config.rpath is present if needed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-30 17:03:38 +00:00
Richard Purdie c6f860596c base/autotools.bbclass: Make sure extra dependencies are not lost for native and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie c54117458a classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:28 +00:00
Richard Purdie 379bc4788f classes: Various staging improvement fixups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:23 +00:00
Richard Purdie 6ea78d6489 autotools.bbclass: Separate out useful staging functions into base.bbclass and call from autotools classes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie 1383f0fb4c autotools.bbclass: No need to fork sed each time
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie cbcad726fe autotools.bbclass: Convert .la file mangling to package preprocessing hook
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13 12:15:22 +00:00
Richard Purdie af85ce4b4e Remove layout_* variables
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>
2009-09-17 22:24:36 +01:00
Richard Purdie b8398e1cdf autotools.bbclass: Remove pointless inherit
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-12 12:02:21 +01:00
Richard Purdie 9439e99ae7 autotools.bbclass: Fix to work with configure files with leading whitespace
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-16 15:54:47 +01:00
Richard Purdie 5a4c688958 packaged-staging.bbclass: Detect when we're using autotools_stage_all and 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>
2009-06-11 14:46:17 +01:00
Richard Purdie 4a3a35f81c autotools.bbclass: Handle /lib as well as /usr/lib in autotools_stage_all 2008-11-04 15:40:56 +00:00
Richard Purdie b6fefce736 autotools.bbclass: Switch stage_autotools_all to change la files itself and to stop using oe_libinstall
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4459 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-12 13:09:17 +00:00
Richard Purdie be886a8b1b autotools.bbclass: There is no need to use the strange -t option to cp anymore
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4442 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06 14:18:01 +00:00
Richard Purdie 8d715a27d0 autotools.bbclass: Drop enable-maintainer-mode until such times as its been tested properly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4109 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-21 00:24:24 +00:00
Ross Burton 121b6e1c94 autotools.bbclass: fix typo in --enable-maintainer-mode
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4107 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-20 16:30:21 +00:00
Richard Purdie 013882eb9a autotools.bbclass: Add autotools_stage_dir to help staging directories and 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
2008-03-20 10:52:05 +00:00
Richard Purdie d36c1d83f5 autotools.bbclass: Some further tweaks to autotools_stage_all
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4080 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:30:30 +00:00
Richard Purdie 69215b0451 autotools.bbclass: Fix typos
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4079 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:25:28 +00:00
Richard Purdie 80ec6694d7 autotools.bbclass: Handle case where is an empty directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4078 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:19:50 +00:00
Richard Purdie b26a7c4be9 autotools.bbclass: autotools_stage_all - improve handling of datadir
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4077 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19 20:07:47 +00:00
Richard Purdie b02d95a61f autotools.bbclass: Add handling binary staging capability to 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
2008-03-19 17:53:44 +00:00
Richard Purdie 38854a1101 autotools.bbclass/native.bbclass: Use autotools_stage_all instead of 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
2008-03-19 15:35:13 +00:00
Ross Burton c48757beab autotools.bbclass: enable maintainer mode when configuring
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3758 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11 17:57:44 +00:00
Richard Purdie 1fd6bb16d8 autotools.bbclass: Ensure the current working directory is preserved in autotools_stage_all
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3620 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-29 20:55:25 +00:00
Richard Purdie 3b79bc69b2 autotools.bbclass: Fix so libraries in directories are handled correctly 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
2008-01-29 17:59:33 +00:00
Richard Purdie 027c071fc5 autotools.bbclass: Make sure STAGING_INCDIR exists
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3553 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 22:46:48 +00:00
Richard Purdie 7d60357a70 autotools.bbclass: Really fix autostaging function to correctly handle cases where only subdirectories of files exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3538 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 13:40:50 +00:00
Richard Purdie 1fa886288e autotools.bbclass: Fix autostaging function to correctly handle cases where only subdirectories of files exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3517 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-18 12:07:20 +00:00
Richard Purdie 3255b1d2c9 autotools.bbclass: Reference STAGING_DATADIR
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3016 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:09:46 +00:00
Richard Purdie 720e0b144c classes: Sync various classes with OE for various bugfixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2407 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 20:41:55 +00:00
Richard Purdie 363ebd8bb7 autotools.bbclass: Fix addition of libtool-cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1620 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:55:38 +00:00
Richard Purdie 77a7221be4 autotools.bbclass: Add libtool-cross as a default dependency
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1617 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-09 09:09:36 +00:00
Richard Purdie 7260b954a9 autotools.bbclass: Reverse r1603 until we can find a better solution
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-08 08:08:01 +00:00
Ross Burton 1f3573dd3a Handle GTK_DOC_CHECK and GNOME_DOC_INIT in configure.ac
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1603 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-04 15:46:07 +00:00
Ross Burton 1275d5765b Fix INTLTOOL usage check (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1330 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-06 10:20:26 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00