[OE-core] [PATCH 2/3] binconfig.bbclass: add base_prefix being processed
Ming Liu
ming.liu at windriver.com
Sat Nov 22 04:35:53 UTC 2014
Add base_prefix to binconfig_package_preprocess, this is necessary
to adjust text like "--sysroot=${STAGING_DIR_HOST}" in target binary
configs.
Signed-off-by: Ming Liu <ming.liu at windriver.com>
---
meta/classes/binconfig.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index db25b77..abeda57 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -39,6 +39,7 @@ binconfig_package_preprocess () {
-e 's:${STAGING_INCDIR}:${includedir}:g;' \
-e 's:${STAGING_DATADIR}:${datadir}:' \
-e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
+ -e 's:${STAGING_DIR_HOST}${base_prefix}:${base_prefix}:' \
$config
done
for lafile in `find ${PKGD} -name "*.la"` ; do
@@ -48,6 +49,7 @@ binconfig_package_preprocess () {
-e 's:${STAGING_INCDIR}:${includedir}:g;' \
-e 's:${STAGING_DATADIR}:${datadir}:' \
-e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
+ -e 's:${STAGING_DIR_HOST}${base_prefix}:${base_prefix}:' \
$lafile
done
}
--
1.8.4.1
More information about the Openembedded-core
mailing list