summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass10
-rw-r--r--meta/classes/populate_sdk_ext.bbclass4
2 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2fa69a40d1..6c759fdf70 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -622,20 +622,20 @@ deltask do_package_write_rpm
622create_merged_usr_symlinks() { 622create_merged_usr_symlinks() {
623 root="$1" 623 root="$1"
624 install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir} 624 install -d $root${base_bindir} $root${base_sbindir} $root${base_libdir}
625 lnr $root${base_bindir} $root/bin 625 ln -rs $root${base_bindir} $root/bin
626 lnr $root${base_sbindir} $root/sbin 626 ln -rs $root${base_sbindir} $root/sbin
627 lnr $root${base_libdir} $root/${baselib} 627 ln -rs $root${base_libdir} $root/${baselib}
628 628
629 if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then 629 if [ "${nonarch_base_libdir}" != "${base_libdir}" ]; then
630 install -d $root${nonarch_base_libdir} 630 install -d $root${nonarch_base_libdir}
631 lnr $root${nonarch_base_libdir} $root/lib 631 ln -rs $root${nonarch_base_libdir} $root/lib
632 fi 632 fi
633 633
634 # create base links for multilibs 634 # create base links for multilibs
635 multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}" 635 multi_libdirs="${@d.getVar('MULTILIB_VARIANTS')}"
636 for d in $multi_libdirs; do 636 for d in $multi_libdirs; do
637 install -d $root${exec_prefix}/$d 637 install -d $root${exec_prefix}/$d
638 lnr $root${exec_prefix}/$d $root/$d 638 ln -rs $root${exec_prefix}/$d $root/$d
639 done 639 done
640} 640}
641 641
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 9187f53f13..ef93b6a826 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -626,7 +626,7 @@ install_tools() {
626 for script in $scripts; do 626 for script in $scripts; do
627 for scriptfn in `find ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath} -maxdepth 1 -executable -name "$script"`; do 627 for scriptfn in `find ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath} -maxdepth 1 -executable -name "$script"`; do
628 targetscriptfn="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/$(basename $scriptfn)" 628 targetscriptfn="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/$(basename $scriptfn)"
629 test -e ${targetscriptfn} || lnr ${scriptfn} ${targetscriptfn} 629 test -e ${targetscriptfn} || ln -rs ${scriptfn} ${targetscriptfn}
630 done 630 done
631 done 631 done
632 # We can't use the same method as above because files in the sysroot won't exist at this point 632 # We can't use the same method as above because files in the sysroot won't exist at this point
@@ -634,7 +634,7 @@ install_tools() {
634 unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd" 634 unfsd_path="${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd"
635 if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then 635 if [ "${SDK_INCLUDE_TOOLCHAIN}" = "1" -a ! -e $unfsd_path ] ; then
636 binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), d.getVar('TMPDIR'))} 636 binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE'), d.getVar('TMPDIR'))}
637 lnr ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path 637 ln -rs ${SDK_OUTPUT}/${SDKPATH}/tmp/$binrelpath/unfsd $unfsd_path
638 fi 638 fi
639 touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase 639 touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase
640 640