: Allow targets to define boot block image format.
PATCH 8/10 : Allow targets to define boot block image format.
2009-03-04 David S. Miller <[email protected]>
* genmk.rb: Allow rmk file to specify pkglib_IMAGES object file format in IMG_FMT.
* conf/i386-pc.rmk (IMG_FMT): Define.
--- conf/i386-pc.rmk | 1 + genmk.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
conf/i386-pc.rmk +1 -0
@@ -10,6 +10,7 @@ COMMON_LDFLAGS = -m32 -nostdlib normal/lexer.c_DEPENDENCIES = grub_script.tab.h # Images. +IMG_FMT = binary pkglib_IMAGES = boot.img diskboot.img kernel.img pxeboot.img lnxboot.img \ cdboot.img
genmk.rb +1 -1
@@ -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 $(IMG_FMT) -R .note -R .comment -R .note.gnu.build-id $< $@ #{exe}: #{objs_str} $(TARGET_CC) -o $@ $^ $(TARGET_LDFLAGS) $(#{prefix}_LDFLAGS)
Signature · 1 line
1.6.2