diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-01-18 16:17:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-21 11:18:37 +0000 |
commit | bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3 (patch) | |
tree | 932aff7c30893ed2625143e53a968521c8ebf8d7 /meta/classes/binconfig.bbclass | |
parent | b1025bd5385de70ba1e1fc8ec9d2fb59d7fe1e91 (diff) | |
download | poky-bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3.tar.gz |
staging: Use relative path in sysroot-destdir for target recipes
Original we used absolute path in sysroot-destdir for both native and
target recipes. This commit changes target recipes to use relative path
which is same as the image directory.
[sgw: merged with libtool sysroot work]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/binconfig.bbclass')
-rw-r--r-- | meta/classes/binconfig.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 73ca4d6219..8e22d2d292 100644 --- a/meta/classes/binconfig.bbclass +++ b/meta/classes/binconfig.bbclass | |||
@@ -47,8 +47,8 @@ SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess" | |||
47 | binconfig_sysroot_preprocess () { | 47 | binconfig_sysroot_preprocess () { |
48 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do | 48 | for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do |
49 | configname=`basename $config` | 49 | configname=`basename $config` |
50 | install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} | 50 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} |
51 | cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname | 51 | cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname |
52 | chmod u+x ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname | 52 | chmod u+x ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname |
53 | done | 53 | done |
54 | } | 54 | } |