aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-03-22 12:34:27 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-04-09 02:51:15 -0400
commit104058ede714d3d84f27025a7b5467c6bb137ffd (patch)
tree2764712c62ad4a4695cbb9ab9dc93cf3acea76cc /arch/arc/Makefile
parentfb0990bbf5e5eda5705f5511c261842787d1bdf6 (diff)
ARC: [build] Allow uncompressed uImage
The existing uImage target always generates gzip compressed image which drags bootup for some very slow FPGA customer boards. So introduce seperate make targets:uImage.{bin,gz} with uncompressed being default. Also tie gz generation to CONFIG_KERNEL_GZIP, which a platform can select in it's Kconfig if it wishes gz to be default. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index ac14601577a6..f30e0a168343 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -102,10 +102,11 @@ boot := arch/arc/boot
102KBUILD_IMAGE := bootpImage 102KBUILD_IMAGE := bootpImage
103 103
104all: $(KBUILD_IMAGE) 104all: $(KBUILD_IMAGE)
105
106bootpImage: vmlinux 105bootpImage: vmlinux
107 106
108uImage: vmlinux 107boot_targets += uImage uImage.bin uImage.gz
108
109$(boot_targets): vmlinux
109 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 110 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
110 111
111%.dtb %.dtb.S %.dtb.o: scripts 112%.dtb %.dtb.S %.dtb.o: scripts