Age | Commit message (Collapse) | Author |
|
This is nice in theory, but there's a risk that a broken source tree could try
to modify the files through the symlinks, screwing up everybody else using
them. Of course, per-recipe sysroots would resolve this, so we can revisit
this if/when that gets implemented.
This reverts commit 302395545185b4e85bf76a8f319bc71bd3a7be1d.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
This functionality logically belongs in its own function, and it makes it
easier to explicitly run against subdirs in certain cases.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
-q is a required arg so use it instead of redirecting to /dev/null
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
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>
|
|
${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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
- 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>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
and call from autotools classes (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
allow nextgen SDK generation (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
intltoolize (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
searches (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
|
|
support datadir/pkgconfig...
* http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009963.html
|
|
* 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.
|
|
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.
|
|
pass to oe_runconf
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
|
|
|
|
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
|
|
4b02add2b83e66d45ff3e840056487a7274d9011, convert autotools_stage_all to use sed on .la files instead of calling oe_libinstall, remove broken enable-mainainer-mode flag
|
|
85a5e185b6a21e42e4243ad17befe40373025e0e alone will break uclibc/gettext builds.
|
|
it (closes #4210)
|
|
|
|
(see file for lenghty explanation)
|
|
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
|
|
|
|
* hardcoded since native.bbclass redefines ${bindir} and friends :(
|
|
|
|
install for staging native packages
|
|
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
|
|
|
|
This is silenting issues with various libtool files that have installed=yes.
|