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 @@ Autotools-Based Projects - For an autotools-based project, you can use the cross-toolchain by just + For an Autotools-based project, you can use the cross-toolchain by just passing the appropriate host option to configure.sh. The host option you use is derived from the name of the environment setup script in /opt/poky resulting from unpacking the @@ -47,6 +47,20 @@ This single command updates your project and rebuilds it using the appropriate cross-toolchain tools. + + If configure script results in problems recognizing the + --with-libtool-sysroot=<sysroot-dir> option, + regenerate the script to enable the support by doing the following and then + re-running the script: + + $ libtoolize --automake + $ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \ + [-I <dir_containing_your_project-specific_m4_macros>] + $ autoconf + $ autoheader + $ automake -a + +