diff options
| author | Ting Liu <ting.liu@nxp.com> | 2016-01-09 14:43:45 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:24 -0300 |
| commit | 175e4b86424428c5e38bde272f4678cd3c56ca46 (patch) | |
| tree | b1f60c7a372d0d590f11b999f9ab6d45c4422f9f | |
| parent | 0d1db1dfbb0def36d3e1194534629cbe384160ca (diff) | |
| download | meta-freescale-175e4b86424428c5e38bde272f4678cd3c56ca46.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@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -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 7f355ebd3..8cfc018c6 100644 --- a/recipes-kernel/asf/asf_git.bb +++ b/recipes-kernel/asf/asf_git.bb | |||
| @@ -29,6 +29,7 @@ do_install(){ | |||
| 29 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf | 29 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf |
| 30 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf | 30 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf |
| 31 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ | 31 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ |
| 32 | find ${D}/lib -depth -type d -exec rmdir --ignore-fail-on-non-empty {} \; | ||
| 32 | } | 33 | } |
| 33 | 34 | ||
| 34 | FILES_${PN} += "${libexecdir}" | 35 | FILES_${PN} += "${libexecdir}" |
