diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 14 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-extsdk-toolchain.bb | 2 |
2 files changed, 13 insertions, 3 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 5402988ba9..ddf3962fa4 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -492,8 +492,18 @@ def get_sdk_required_utilities(buildtools_fn, d): | |||
492 | 492 | ||
493 | install_tools() { | 493 | install_tools() { |
494 | install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk} | 494 | install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk} |
495 | lnr ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath}/devtool ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/devtool | 495 | scripts="devtool recipetool oe-find-native-sysroot runqemu*" |
496 | lnr ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath}/recipetool ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/recipetool | 496 | for script in $scripts; do |
497 | for scriptfn in `find ${SDK_OUTPUT}/${SDKPATH}/${scriptrelpath} -maxdepth 1 -executable -name "$script"`; do | ||
498 | lnr ${scriptfn} ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/`basename $scriptfn` | ||
499 | done | ||
500 | done | ||
501 | # We can't use the same method as above because files in the sysroot won't exist at this point | ||
502 | # (they get populated from sstate on installation) | ||
503 | if [ "${SDK_INCLUDE_TOOLCHAIN}" == "1" ] ; then | ||
504 | binrelpath=${@os.path.relpath(d.getVar('STAGING_BINDIR_NATIVE',True), d.getVar('TOPDIR', True))} | ||
505 | lnr ${SDK_OUTPUT}/${SDKPATH}/$binrelpath/unfsd ${SDK_OUTPUT}/${SDKPATHNATIVE}${bindir_nativesdk}/unfsd | ||
506 | fi | ||
497 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase | 507 | touch ${SDK_OUTPUT}/${SDKPATH}/.devtoolbase |
498 | 508 | ||
499 | # find latest buildtools-tarball and install it | 509 | # find latest buildtools-tarball and install it |
diff --git a/meta/recipes-core/meta/meta-extsdk-toolchain.bb b/meta/recipes-core/meta/meta-extsdk-toolchain.bb index 886ff076dc..2bd9a5b328 100644 --- a/meta/recipes-core/meta/meta-extsdk-toolchain.bb +++ b/meta/recipes-core/meta/meta-extsdk-toolchain.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ |
5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
6 | 6 | ||
7 | DEPENDS = "virtual/libc gdb-cross-${TARGET_ARCH} qemu-native qemu-helper-native" | 7 | DEPENDS = "virtual/libc gdb-cross-${TARGET_ARCH} qemu-native qemu-helper-native unfs3-native" |
8 | 8 | ||
9 | do_populate_sysroot[deptask] = "do_populate_sysroot" | 9 | do_populate_sysroot[deptask] = "do_populate_sysroot" |
10 | 10 | ||