All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel-devsrc.bb: Remove extra System.map file
@ 2025-05-12 19:04 Erick Shepherd
  2025-05-12 19:42 ` [OE-core] " Khem Raj
  2025-05-13  6:53 ` Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Erick Shepherd @ 2025-05-12 19:04 UTC (permalink / raw)
  To: openembedded-core; +Cc: Erick Shepherd

Currently there are two .map files being copied to $kerneldir/build.
One of the files is System.map and the other is
System.map-<kernel version>. Each .map file takes up about 5MB and
have identical sha256sum hashes. This change will make it so only
System.map is copied in order to save disk space.

Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 1500aff2e2..9729a25440 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -75,7 +75,7 @@ do_install() {
         if [ -s Module.symvers ]; then
             cp Module.symvers $kerneldir/build
         fi
-        cp System.map* $kerneldir/build
+        cp System.map $kerneldir/build
         if [ -s Module.markers ]; then
             cp Module.markers $kerneldir/build
         fi
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-13  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-12 19:04 [PATCH] kernel-devsrc.bb: Remove extra System.map file Erick Shepherd
2025-05-12 19:42 ` [OE-core] " Khem Raj
2025-05-13  6:53 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.