From 748fd4543bc6b388564f85f60bf75b1180652fad Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 23 Sep 2011 08:49:20 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/adt-manual/adt-command.xml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 + +