grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/10]: Strip boot block built objects.


From: David Miller
Subject: [PATCH 10/10]: Strip boot block built objects.
Date: Wed, 04 Mar 2009 17:32:43 -0800 (PST)

2009-03-04 David S. Miller <address@hidden>

        * genmk.rb: Strip object files built for boot images.
---
 genmk.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/genmk.rb b/genmk.rb
index fe022cd..83ef639 100644
--- a/genmk.rb
+++ b/genmk.rb
@@ -61,6 +61,7 @@ MOSTLYCLEANFILES += #{deps_str}
 
 #{exe}: #{objs_str}
        $(TARGET_CC) -o $@ $^ $(TARGET_LDFLAGS) $(#{prefix}_LDFLAGS)
+       $(STRIP) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id $@
 
 " + objs.collect_with_index do |obj, i|
       src = sources[i]
-- 
1.6.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]