Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77821
b: refs/heads/master
c: 453ec9c
h: refs/heads/master
i:
  77819: cf7cbc5
v: v3
  • Loading branch information
Thomas Betker authored and Paul Mundt committed Jan 28, 2008
1 parent 3c3458c commit 4872149
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fb19dcb64ec4bd9934eee26ce66417fe028ffd8
refs/heads/master: 453ec9c1c3808b051347edbbf637f997add7b85b
19 changes: 15 additions & 4 deletions trunk/arch/sh/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,27 @@ $(obj)/compressed/vmlinux: FORCE
KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%8x" \
$$[$(CONFIG_PAGE_OFFSET) + \
$(CONFIG_MEMORY_START) + \
$(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')
$(CONFIG_ZERO_PAGE_OFFSET)]')

KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%8x" \
$$[$(KERNEL_LOAD)+0x1000]')


quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \
-C none -a $(KERNEL_LOAD) -e $(KERNEL_LOAD) \
-C none -a $(KERNEL_LOAD) -e $(KERNEL_ENTRY) \
-n 'Linux-$(KERNELRELEASE)' -d $< $@

$(obj)/uImage: $(obj)/zImage FORCE
$(obj)/uImage: $(obj)/vmlinux.bin.gz FORCE
$(call if_changed,uimage)
@echo ' Image $@ is ready'

$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)

$(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE
$(call if_changed,gzip)

OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec
$(obj)/vmlinux.srec: $(obj)/compressed/vmlinux
$(call if_changed,objcopy)
Expand All @@ -54,4 +64,5 @@ OBJCOPYFLAGS_uImage.srec := -I binary -O srec
$(obj)/uImage.srec: $(obj)/uImage
$(call if_changed,objcopy)

clean-files += uImage uImage.srec vmlinux.srec
clean-files += uImage uImage.srec vmlinux.srec \
vmlinux.bin vmlinux.bin.gz

0 comments on commit 4872149

Please sign in to comment.