[v1,2/2] meta/recipes-kernel/linux: add additional directory for cleanup

Message ID 20241014152440.1310394-2-srinuvasan.a@siemens.com
State Accepted, archived
Headers show
Series [v1,1/2] meta/recipes-kernel/linux: correct the kernel header dir name | expand

Commit Message

srinuvasan.a Oct. 14, 2024, 3:24 p.m. UTC
From: srinuvasan <srinuvasan.a@siemens.com>

Add "deb_libc_hdr_cross_dir" to the do_clean target for cleanup
the libc header cross packages.

Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
 meta/recipes-kernel/linux/files/debian/isar/clean.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
index 8cceb6e2..a0222f52 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
@@ -12,7 +12,7 @@  do_clean() {
 
     rm -rf ${deb_img_dir} ${deb_dbg_dir}
     rm -rf ${deb_kern_hdr_dir}
-    rm -rf ${deb_libc_hdr_dir}
+    rm -rf ${deb_libc_hdr_dir} ${deb_libc_hdr_cross_dir}
 
     # Stop tracing
     set +x