summaryrefslogtreecommitdiffstats
path: root/meta/classes/binconfig.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
commitb17670211a86799c101394dcaa7f1ed88758ddde (patch)
tree3fc555d85a85d4ad9e658a52316bab98aacf5f0a /meta/classes/binconfig.bbclass
parent0e09147de182aeb96cff9ff59211b3d907ba83f7 (diff)
downloadpoky-b17670211a86799c101394dcaa7f1ed88758ddde.tar.gz
Remove hardcoded staging layout assumptions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/binconfig.bbclass')
-rw-r--r--meta/classes/binconfig.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 497b78f454..4e425a76d6 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -16,8 +16,8 @@ def get_binconfig_mangle(d):
16 s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'" 16 s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
17 s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'" 17 s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
18 s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'" 18 s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
19 s += " -e 's:OEPREFIX:${STAGING_LIBDIR}/..:'" 19 s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${layout_prefix}:'"
20 s += " -e 's:OEEXECPREFIX:${STAGING_LIBDIR}/..:'" 20 s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${layout_exec_prefix}:'"
21 s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'" 21 s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
22 s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'" 22 s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
23 return s 23 return s
@@ -33,7 +33,7 @@ do_install_append() {
33 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ 33 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
34 -e 's:${STAGING_INCDIR}:${includedir}:g;' \ 34 -e 's:${STAGING_INCDIR}:${includedir}:g;' \
35 -e 's:${STAGING_DATADIR}:${datadir}:' \ 35 -e 's:${STAGING_DATADIR}:${datadir}:' \
36 -e 's:${STAGING_LIBDIR}/..:${prefix}:' > ${D}${bindir}/`basename $config` 36 -e 's:${STAGING_DIR_HOST}${layout_prefix}:${prefix}:' > ${D}${bindir}/`basename $config`
37 done 37 done
38 fi 38 fi
39 39
@@ -42,7 +42,7 @@ do_install_append() {
42 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ 42 -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
43 -e 's:${STAGING_INCDIR}:${includedir}:g;' \ 43 -e 's:${STAGING_INCDIR}:${includedir}:g;' \
44 -e 's:${STAGING_DATADIR}:${datadir}:' \ 44 -e 's:${STAGING_DATADIR}:${datadir}:' \
45 -e 's:${STAGING_LIBDIR}/..:${prefix}:' \ 45 -e 's:${STAGING_DIR_HOST}${layout_prefix}:${prefix}:' \
46 $lafile 46 $lafile
47 done 47 done
48} 48}