From: Peter Kjellerstedt Date: Thu, 12 May 2016 08:37:54 +0000 (+0200) Subject: depmodwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d308b0f12a80ed8ede548980987c925b3149a81;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git depmodwrapper-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb index c2c25891092..5c7dd52f545 100644 --- a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb +++ b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb @@ -41,10 +41,6 @@ EOF chmod +x ${D}${bindir_crossscripts}/depmodwrapper } -SYSROOT_PREPROCESS_FUNCS += "depmodwrapper_sysroot_preprocess" - -depmodwrapper_sysroot_preprocess () { - sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts} -} +SYSROOT_DIRS += "${bindir_crossscripts}" inherit nopackages