summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-29 15:09:46 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-29 15:09:46 +0000
commit3255b1d2c96c464fcba71cf7e4a5f0f2bfcecb50 (patch)
treef219146aae4e8195f481dd6a7f313d7569dcd82f
parent2718b2aecd959d2b845b673ee1ddd99f0da152c2 (diff)
downloadpoky-3255b1d2c96c464fcba71cf7e4a5f0f2bfcecb50.tar.gz
autotools.bbclass: Reference STAGING_DATADIR
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3016 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/autotools.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index fccf2b6d80..8e4fba9400 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -97,9 +97,9 @@ autotools_do_configure() {
97 AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"` 97 AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
98 automake --version 98 automake --version
99 echo "AUTOV is $AUTOV" 99 echo "AUTOV is $AUTOV"
100 install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal 100 install -d ${STAGING_DATADIR}/aclocal
101 install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV 101 install -d ${STAGING_DATADIR}/aclocal-$AUTOV
102 acpaths="$acpaths -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal" 102 acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV -I ${STAGING_DATADIR}/aclocal"
103 # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look 103 # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
104 # like it was auto-generated. Work around this by blowing it away 104 # like it was auto-generated. Work around this by blowing it away
105 # by hand, unless the package specifically asked not to run aclocal. 105 # by hand, unless the package specifically asked not to run aclocal.