Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84929
b: refs/heads/master
c: 87f5a7f
h: refs/heads/master
i:
  84927: 58a52fb
v: v3
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 8dae872 commit be2dfce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 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: 2c2314bf6b1e72c2de6703a62f51f453576cd132
refs/heads/master: 87f5a7f7033ce4bbad082983332bbce43e849c84
24 changes: 16 additions & 8 deletions trunk/arch/cris/arch-v10/boot/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
#
# arch/cris/boot/Makefile
# arch/cris/arch-v10/boot/Makefile
#
target = $(target_boot_dir)
src = $(src_boot_dir)

zImage: compressed/vmlinuz
OBJCOPY = objcopy-cris
OBJCOPYFLAGS = -O binary --remove-section=.bss

compressed/vmlinuz:
@$(MAKE) -f $(src)/compressed/Makefile $(target_compressed_dir)/vmlinuz
subdir- := compressed rescue
targets := Image

clean:
@$(MAKE) -f $(src)/compressed/Makefile clean
$(obj)/Image: vmlinux FORCE
$(call if_changed,objcopy)
@echo ' Kernel: $@ is ready'

$(obj)/compressed/vmlinux: $(obj)/Image FORCE
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
$(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin

$(obj)/zImage: $(obj)/compressed/vmlinux
@cp $< $@
@echo ' Kernel: $@ is ready'

0 comments on commit be2dfce

Please sign in to comment.