From: Baikal Electronics Date: Wed, 28 Sep 2022 20:12:09 +0000 (+0300) Subject: Remove kernel related binaries in directory on cleanall X-Git-Tag: baikal/mips/sdk6.1~17 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=b91928e6f024fc4fb10f96978a821242eb5ce247;p=openembedded-baikal.git Remove kernel related binaries in directory on cleanall --- diff --git a/meta-baikal/recipes-kernel/linux/linux-baikal.inc b/meta-baikal/recipes-kernel/linux/linux-baikal.inc index 547dda4..37fa718 100644 --- a/meta-baikal/recipes-kernel/linux/linux-baikal.inc +++ b/meta-baikal/recipes-kernel/linux/linux-baikal.inc @@ -44,9 +44,13 @@ do_devshell:prepend() { do_extsrc_clean () { if [ -d ${BAIKAL_IMAGES} ]; then + cd ${BAIKAL_IMAGES} + rm -rf ${UBOOT_SIGN_KEYDIR} + rm -f *vmlinux* *System.map u* *.dtb for imageType in ${KERNEL_IMAGETYPES} ; do - rm -f ${BAIKAL_IMAGES}/${MACHINE}.$imageType + rm -f ${MACHINE}.$imageType done + cd - fi oe_runmake -C ${S} mrproper