diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-11 12:43:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-11 12:43:41 -0700 |
commit | 1d80cac0fe44fb87b2a3d35fddd7f534ea81cd90 (patch) | |
tree | 53b3e76a70e4ca6f77e29bcd47124d8b6a0b208e /arch/cris/boot/Makefile | |
parent | 7b5ca22643beba8fdd5b7055e0594a514b3710d7 (diff) | |
parent | 999fb23ef868719b8bd55ee3f6b1f7a8fd8016af (diff) |
Merge branch 'for-linus' of git://repo.or.cz/cris-mirror
* 'for-linus' of git://repo.or.cz/cris-mirror:
CRISv32: Fix typo compile error in ARTPEC-3 gpio driver.
CRIS: Wire up syscalls signalfd4 to writev.
CRISv32: Remove obsolete vcs_hook.o from Makefile
CRIS: Merge machine dependent boot/compressed and boot/rescue
Diffstat (limited to 'arch/cris/boot/Makefile')
-rw-r--r-- | arch/cris/boot/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/boot/Makefile b/arch/cris/boot/Makefile new file mode 100644 index 00000000000..144f3afa011 --- /dev/null +++ b/arch/cris/boot/Makefile @@ -0,0 +1,24 @@ +# +# arch/cris/boot/Makefile +# + +objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment +objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss + +OBJCOPYFLAGS = -O binary $(objcopyflags-y) + + +subdir- := compressed rescue +targets := Image + +$(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' |