diff options
-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'> |