diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-03-22 12:34:27 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 02:51:15 -0400 |
commit | 104058ede714d3d84f27025a7b5467c6bb137ffd (patch) | |
tree | 2764712c62ad4a4695cbb9ab9dc93cf3acea76cc /arch/arc/Makefile | |
parent | fb0990bbf5e5eda5705f5511c261842787d1bdf6 (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/Makefile | 5 |
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 | |||
102 | KBUILD_IMAGE := bootpImage | 102 | KBUILD_IMAGE := bootpImage |
103 | 103 | ||
104 | all: $(KBUILD_IMAGE) | 104 | all: $(KBUILD_IMAGE) |
105 | |||
106 | bootpImage: vmlinux | 105 | bootpImage: vmlinux |
107 | 106 | ||
108 | uImage: vmlinux | 107 | boot_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 |