mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
* genmk.rb: Add more flexible image type specification, also
pass --strip-unneeded to objcopy. * conf/i386-pc.rmk: Use *_FORMAT. * conf/i386-pc.mk: Rebuilt.
This commit is contained in:
1 parent
df38d0bb75
commit
e382e93a88
4 files changed
+24
-7
No files matched your search
@@ -57,7 +57,7 @@ class Image
|
||||
MOSTLYCLEANFILES += #{deps_str}
|
||||
|
||||
#{@name}: #{exe}
|
||||
$(OBJCOPY) -O binary -R .note -R .comment -R .note.gnu.build-id $< $@
|
||||
$(OBJCOPY) -O $(#{prefix}_FORMAT) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id $< $@
|
||||
|
||||
#{exe}: #{objs_str}
|
||||
$(TARGET_CC) -o $@ $^ $(TARGET_LDFLAGS) $(#{prefix}_LDFLAGS)
|
||||
|
||||
Reference in new issue
Block a user