diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-09-23 08:49:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-25 17:59:59 +0100 |
commit | cd71ed5b5872c3b112b4d705674b384662762bb4 (patch) | |
tree | 199f70b8426e8557590d922fa564a386b562e626 /documentation | |
parent | 24eaac709825044b4dc9bb8d83f6ac73cfab3ae5 (diff) | |
download | poky-cd71ed5b5872c3b112b4d705674b384662762bb4.tar.gz |
documentation/adt-manual/adt-command.xml: Note about running configure
YOCTO #1504: Added a note indicating what to do if the configure
script complains about --with-libtool-sysroot option.
(From yocto-docs rev: 575f4057ddfc2774a62bf349fd05d62b79dd278b)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/adt-manual/adt-command.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/documentation/adt-manual/adt-command.xml b/documentation/adt-manual/adt-command.xml index 96b779c3b7..a4197075e1 100644 --- a/documentation/adt-manual/adt-command.xml +++ b/documentation/adt-manual/adt-command.xml | |||
@@ -28,7 +28,7 @@ | |||
28 | <title>Autotools-Based Projects</title> | 28 | <title>Autotools-Based Projects</title> |
29 | 29 | ||
30 | <para> | 30 | <para> |
31 | For an autotools-based project, you can use the cross-toolchain by just | 31 | For an Autotools-based project, you can use the cross-toolchain by just |
32 | passing the appropriate host option to <filename>configure.sh</filename>. | 32 | passing the appropriate host option to <filename>configure.sh</filename>. |
33 | The host option you use is derived from the name of the environment setup | 33 | The host option you use is derived from the name of the environment setup |
34 | script in <filename>/opt/poky</filename> resulting from unpacking the | 34 | script in <filename>/opt/poky</filename> resulting from unpacking the |
@@ -47,6 +47,20 @@ | |||
47 | This single command updates your project and rebuilds it using the appropriate | 47 | This single command updates your project and rebuilds it using the appropriate |
48 | cross-toolchain tools. | 48 | cross-toolchain tools. |
49 | </para> | 49 | </para> |
50 | <note> | ||
51 | If <filename>configure</filename> script results in problems recognizing the | ||
52 | <filename>--with-libtool-sysroot=<sysroot-dir></filename> option, | ||
53 | regenerate the script to enable the support by doing the following and then | ||
54 | re-running the script: | ||
55 | <literallayout class='monospaced'> | ||
56 | $ libtoolize --automake | ||
57 | $ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \ | ||
58 | [-I <dir_containing_your_project-specific_m4_macros>] | ||
59 | $ autoconf | ||
60 | $ autoheader | ||
61 | $ automake -a | ||
62 | </literallayout> | ||
63 | </note> | ||
50 | </section> | 64 | </section> |
51 | 65 | ||
52 | <section id='makefile-based-projects'> | 66 | <section id='makefile-based-projects'> |