Skip to contentSkip to conversation

: Strip boot block built objects.

PATCH In review David Miller 1 participant 1 message Mar 5, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 10/10 : Strip boot block built objects.

2009-03-04 David S. Miller <[email protected]>

* genmk.rb: Strip object files built for boot images.

---
 genmk.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
genmk.rb +1 -0
index fe022cd..83ef639 100644
@@ -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]
Signature · 1 line
1.6.2