diff options
Diffstat (limited to 'meta/classes/binconfig.bbclass')
| -rw-r--r-- | meta/classes/binconfig.bbclass | 8 |
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 | } |
