[oe] [PATCH 3/4] autotools: symlink where we can
Khem Raj
raj.khem at gmail.com
Tue Feb 8 17:18:15 UTC 2011
On Tue, Feb 8, 2011 at 8:16 AM, Chris Larson <kergoth at gmail.com> wrote:
> From: Chris Larson <chris_larson at mentor.com>
>
> Signed-off-by: Chris Larson <chris_larson at mentor.com>
now that we will have symlinks will it have any impact on source
package generation ?
otherwise
Acked-by: Khem Raj <raj.khem at gmail.com>
> ---
> classes/autotools.bbclass | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
> index 9744589..a88a4d1 100644
> --- a/classes/autotools.bbclass
> +++ b/classes/autotools.bbclass
> @@ -137,11 +137,11 @@ oe_autoreconf () {
> if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
> : do nothing -- we still have an old unmodified configure.ac
> else
> - echo "no" | glib-gettextize --force --copy
> + echo "no" | glib-gettextize --force
> fi
> else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
> if [ -e ${STAGING_DATADIR}/gettext/config.rpath ]; then
> - cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/
> + ln -sf ${STAGING_DATADIR}/gettext/config.rpath ${S}/
> else
> oenote ${STAGING_DATADIR}/gettext/config.rpath not found. gettext is not installed.
> fi
> @@ -151,9 +151,9 @@ oe_autoreconf () {
> for aux in m4 `sed -n -e '/^[[:space:]]*AC_CONFIG_MACRO_DIR/s|[^(]*([[]*\([^])]*\)[]]*)|\1|p' $CONFIGURE_AC`; do
> mkdir -p ${aux}
> done
> - autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed."
> + autoreconf -Wcross --verbose --install --symlink --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed."
> if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
> - intltoolize --copy --force --automake
> + intltoolize --force --automake
> fi
> }
>
> --
> 1.7.2.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list