summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2017-02-13 23:32:38 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-16 12:06:36 +0100
commit54f8d317972fc7acd84b75aca1f0ce97a73fee6b (patch)
treea7adeaf6a6fdc493aeb68d71af34bb82e6acc810 /meta-initramfs
parent2b9068b689b18dfa127303978a02cfea348f5ac8 (diff)
downloadmeta-openembedded-54f8d317972fc7acd84b75aca1f0ce97a73fee6b.tar.gz
klcc-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
As done for libtool-cross in oe-core. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb
index 1a68ab45f..b285b2e8b 100644
--- a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb
@@ -30,10 +30,5 @@ do_install() {
30 ${D}${bindir_crossscripts}/${TARGET_PREFIX}klcc 30 ${D}${bindir_crossscripts}/${TARGET_PREFIX}klcc
31} 31}
32 32
33SYSROOT_PREPROCESS_FUNCS += "klcc_sysroot_preprocess" 33SYSROOT_DIRS += "${bindir_crossscripts}"
34
35klcc_sysroot_preprocess () {
36 sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
37}
38
39SSTATE_SCAN_FILES += "*-klcc" 34SSTATE_SCAN_FILES += "*-klcc"