summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-10-29 15:44:56 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-10-29 15:44:56 +0000
commit74554526998506d094a0adec1abc20879a1d53c9 (patch)
tree3f02d37b73ae6ce78b9f81a8a358727cc141fe84 /classes/autotools.bbclass
parent3c2e93f1c6973e2b797e2b9dd9286ce37ee03966 (diff)
autotools.bbclass: Reference STAGING_DATADIR (from poky)
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index fccf2b6d80..8e4fba9400 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -97,9 +97,9 @@ autotools_do_configure() {
AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
automake --version
echo "AUTOV is $AUTOV"
- install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal
- install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV
- acpaths="$acpaths -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal"
+ install -d ${STAGING_DATADIR}/aclocal
+ install -d ${STAGING_DATADIR}/aclocal-$AUTOV
+ acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV -I ${STAGING_DATADIR}/aclocal"
# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
# like it was auto-generated. Work around this by blowing it away
# by hand, unless the package specifically asked not to run aclocal.