[meta-freescale] [PATCH 52/60] asf: remove empty install directories
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jan 8 22:43:45 PST 2016
From: Ting Liu <ting.liu at nxp.com>
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 <ting.liu at nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
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 7f355eb..8cfc018 100644
--- a/recipes-kernel/asf/asf_git.bb
+++ b/recipes-kernel/asf/asf_git.bb
@@ -29,6 +29,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.2
More information about the meta-freescale
mailing list