From: Ting Liu <[email protected]> If ASF was not enabled in kernel, no .ko will be generated. rm these empty install directories to avoid QA issue.
Signed-off-by: Ting Liu <[email protected]> --- recipes-kernel/asf/asf_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb index 05ffa88..6699d93 100644 --- a/recipes-kernel/asf/asf_git.bb +++ b/recipes-kernel/asf/asf_git.bb @@ -27,6 +27,7 @@ do_install(){ cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf cp -rf ${S}/../scripts ${D}/${libexecdir}/ + find ${D}/lib -depth -type d -exec rmdir --ignore-fail-on-non-empty {} \; } FILES_${PN} += "${libexecdir}" -- 1.9.1 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
