]> git.baikalelectronics.ru Git - openembedded-baikal.git/commitdiff
Remove kernel related binaries in directory on cleanall
authorBaikal Electronics <support@baikalelectronics.ru>
Wed, 28 Sep 2022 20:12:09 +0000 (23:12 +0300)
committerBaikal Electronics <support@baikalelectronics.ru>
Wed, 28 Sep 2022 20:12:09 +0000 (23:12 +0300)
meta-baikal/recipes-kernel/linux/linux-baikal.inc

index 547dda46ad4bad66beb906cf3c9659b991f0938f..37fa718cf362822ad4cab8c982679e1e59336877 100644 (file)
@@ -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