aboutsummaryrefslogtreecommitdiffstats
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
meta-openembedded-54f8d317972fc7acd84b75aca1f0ce97a73fee6b.tar.bz2
meta-openembedded-54f8d317972fc7acd84b75aca1f0ce97a73fee6b.zip
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() {
${D}${bindir_crossscripts}/${TARGET_PREFIX}klcc
}
-SYSROOT_PREPROCESS_FUNCS += "klcc_sysroot_preprocess"
-
-klcc_sysroot_preprocess () {
- sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
-}
-
+SYSROOT_DIRS += "${bindir_crossscripts}"
SSTATE_SCAN_FILES += "*-klcc"