diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 14:49:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 14:49:58 -0400 |
commit | 8d6cea5111f2daea8acf79d7b4b384a14175ecc1 (patch) | |
tree | ef56294da7eefbe46654b030fa8be06830a9c4f0 /arch/blackfin/boot/Makefile | |
parent | 6a454f71d795368c00d9c329b60cc4d58929e7bc (diff) | |
parent | 61cdd7a28f8b515140cb5d8aea518678f0fae024 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (27 commits)
Blackfin: hook up new rt_tgsigqueueinfo syscall
Blackfin: improve CLKIN_HZ config default
Blackfin: initial support for ftrace grapher
Blackfin: initial support for ftrace
Blackfin: enable support for LOCKDEP
Blackfin: add preliminary support for STACKTRACE
Blackfin: move custom sections into sections.h
Blackfin: punt unused/wrong mutex-dec.h
Blackfin: add support for irqflags
Blackfin: add support for bzip2/lzma compressed kernel images
Blackfin: convert Kconfig style to def_bool
Blackfin: bf548-ezkit: update smsc911x resources
Blackfin: update aedos-ipipe code to upstream 1.10-00
Blackfin: bf537-stamp: update ADP5520 resources
Blackfin: bf518f-ezbrd: fix SPI CS for SPI flash
Blackfin: define SPI IRQ in board resources
Blackfin: do not configure the UART early if on wrong processor
Blackfin: fix deadlock in SMP IPI handler
Blackfin: fix flag storage for irq funcs
Blackfin: push down exception oops checking
...
Diffstat (limited to 'arch/blackfin/boot/Makefile')
-rw-r--r-- | arch/blackfin/boot/Makefile | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/arch/blackfin/boot/Makefile b/arch/blackfin/boot/Makefile index e028d13481a9..3ab6f23561dd 100644 --- a/arch/blackfin/boot/Makefile +++ b/arch/blackfin/boot/Makefile | |||
@@ -8,24 +8,41 @@ | |||
8 | 8 | ||
9 | MKIMAGE := $(srctree)/scripts/mkuboot.sh | 9 | MKIMAGE := $(srctree)/scripts/mkuboot.sh |
10 | 10 | ||
11 | targets := vmImage | 11 | targets := vmImage vmImage.bz2 vmImage.gz vmImage.lzma |
12 | extra-y += vmlinux.bin vmlinux.gz | 12 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma |
13 | 13 | ||
14 | quiet_cmd_uimage = UIMAGE $@ | 14 | quiet_cmd_uimage = UIMAGE $@ |
15 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \ | 15 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \ |
16 | -C gzip -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \ | 16 | -C $(2) -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \ |
17 | -e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \ | 17 | -e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \ |
18 | -d $< $@ | 18 | -d $< $@ |
19 | 19 | ||
20 | $(obj)/vmlinux.bin: vmlinux FORCE | 20 | $(obj)/vmlinux.bin: vmlinux FORCE |
21 | $(call if_changed,objcopy) | 21 | $(call if_changed,objcopy) |
22 | 22 | ||
23 | $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE | 23 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE |
24 | $(call if_changed,gzip) | 24 | $(call if_changed,gzip) |
25 | 25 | ||
26 | $(obj)/vmImage: $(obj)/vmlinux.gz | 26 | $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE |
27 | $(call if_changed,uimage) | 27 | $(call if_changed,bzip2) |
28 | @$(kecho) 'Kernel: $@ is ready' | 28 | |
29 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE | ||
30 | $(call if_changed,lzma) | ||
31 | |||
32 | $(obj)/vmImage.bz2: $(obj)/vmlinux.bin.bz2 | ||
33 | $(call if_changed,uimage,bzip2) | ||
34 | |||
35 | $(obj)/vmImage.gz: $(obj)/vmlinux.bin.gz | ||
36 | $(call if_changed,uimage,gzip) | ||
37 | |||
38 | $(obj)/vmImage.lzma: $(obj)/vmlinux.bin.lzma | ||
39 | $(call if_changed,uimage,lzma) | ||
40 | |||
41 | suffix-$(CONFIG_KERNEL_GZIP) := gz | ||
42 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 | ||
43 | suffix-$(CONFIG_KERNEL_LZMA) := lzma | ||
44 | $(obj)/vmImage: $(obj)/vmImage.$(suffix-y) | ||
45 | @ln -sf $(notdir $<) $@ | ||
29 | 46 | ||
30 | install: | 47 | install: |
31 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" | 48 | sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)" |