mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
FRV: Don't objcopy the GNU build_id note
Don't let objcopy transfer the GNU build_id note into the loadable image as it is located at address 0 and the image ends up >3G in size. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
a5788caa26
commit
5f0231d97b
1 changed files with 6 additions and 4 deletions
|
@ -17,6 +17,8 @@ PARAMS_PHYS = 0x0207c000
|
||||||
INITRD_PHYS = 0x02180000
|
INITRD_PHYS = 0x02180000
|
||||||
INITRD_VIRT = 0x02180000
|
INITRD_VIRT = 0x02180000
|
||||||
|
|
||||||
|
OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment
|
||||||
|
|
||||||
#
|
#
|
||||||
# If you don't define ZRELADDR above,
|
# If you don't define ZRELADDR above,
|
||||||
# then it defaults to ZTEXTADDR
|
# then it defaults to ZTEXTADDR
|
||||||
|
@ -32,18 +34,18 @@ Image: $(obj)/Image
|
||||||
targets: $(obj)/Image
|
targets: $(obj)/Image
|
||||||
|
|
||||||
$(obj)/Image: vmlinux FORCE
|
$(obj)/Image: vmlinux FORCE
|
||||||
$(OBJCOPY) -O binary -R .note -R .comment -S vmlinux $@
|
$(OBJCOPY) $(OBJCOPYFLAGS) -S vmlinux $@
|
||||||
|
|
||||||
#$(obj)/Image: $(CONFIGURE) $(SYSTEM)
|
#$(obj)/Image: $(CONFIGURE) $(SYSTEM)
|
||||||
# $(OBJCOPY) -O binary -R .note -R .comment -g -S $(SYSTEM) $@
|
# $(OBJCOPY) $(OBJCOPYFLAGS) -g -S $(SYSTEM) $@
|
||||||
|
|
||||||
bzImage: zImage
|
bzImage: zImage
|
||||||
|
|
||||||
zImage: $(CONFIGURE) compressed/$(LINUX)
|
zImage: $(CONFIGURE) compressed/$(LINUX)
|
||||||
$(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@
|
$(OBJCOPY) $(OBJCOPYFLAGS) -S compressed/$(LINUX) $@
|
||||||
|
|
||||||
bootpImage: bootp/bootp
|
bootpImage: bootp/bootp
|
||||||
$(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
|
$(OBJCOPY) $(OBJCOPYFLAGS) -S bootp/bootp $@
|
||||||
|
|
||||||
compressed/$(LINUX): $(LINUX) dep
|
compressed/$(LINUX): $(LINUX) dep
|
||||||
@$(MAKE) -C compressed $(LINUX)
|
@$(MAKE) -C compressed $(LINUX)
|
||||||
|
|
Loading…
Add table
Reference in a new issue