]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: add @STAGINGDIR@ for config.sh substitions
authorTom Zanussi <tom.zanussi@intel.com>
Thu, 28 Jun 2012 21:03:27 +0000 (16:03 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Jul 2012 13:54:11 +0000 (14:54 +0100)
For some config.sh substitions, we'd like to be able to use
STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
meta/recipes-devtools/perl/perl_5.14.2.bb

index a50fedb8d5cef1bf3e111fea70c875bc2c92e6af..3ba12236a86952a2d6b91cdc33846cd62fe97f1d 100644 (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' \