perl: add @STAGINGDIR@ for config.sh substitions

For some config.sh substitions, we'd like to be able to use
STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that.

(From OE-Core rev: cc594be0877b2a6616453c402db0a58ef265bc8d)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Zanussi 2012-06-28 16:03:27 -05:00 committed by Richard Purdie
parent 7ebe4ca0cf
commit 2cae5a9fd0
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ do_configure() {
sed -i -e 's,@DESTDIR@,${prefix},g' \
-e 's,@ARCH@-thread-multi,,g' \
-e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
-e 's,@STAGINGDIR@,${STAGING_DIR_HOST},g' \
-e "s%/usr/include%${STAGING_INCDIR}%g" \
-e 's,/usr/lib/,${libdir}/,g' \
-e 's,/usr/,${exec_prefix}/,g' \