diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-12-22 16:43:36 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:01:04 +0800 |
commit | 40730a065555cccaa02f9cd4897e3dc07d94407e (patch) | |
tree | a8b065c64c2e45e25f035b337401c7177c2f1ca2 /recipes-kernel | |
parent | c64596c2af208c45c3f56890ad6fd11913464618 (diff) | |
download | meta-fsl-ppc-40730a065555cccaa02f9cd4897e3dc07d94407e.tar.gz |
asf: remove empty install directories
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@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/asf/asf_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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(){ | |||
27 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf | 27 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf |
28 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf | 28 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf |
29 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ | 29 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ |
30 | find ${D}/lib -depth -type d -exec rmdir --ignore-fail-on-non-empty {} \; | ||
30 | } | 31 | } |
31 | 32 | ||
32 | FILES_${PN} += "${libexecdir}" | 33 | FILES_${PN} += "${libexecdir}" |