summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta2013-03-22 17:34:27 +0100
committerVineet Gupta2013-04-09 08:51:15 +0200
commit104058ede714d3d84f27025a7b5467c6bb137ffd (patch)
tree2764712c62ad4a4695cbb9ab9dc93cf3acea76cc /arch/arc/Makefile
parentARC: [build] cleanup Makefile a bit (diff)
downloadkernel-qcow2-linux-104058ede714d3d84f27025a7b5467c6bb137ffd.tar.gz
kernel-qcow2-linux-104058ede714d3d84f27025a7b5467c6bb137ffd.tar.xz
kernel-qcow2-linux-104058ede714d3d84f27025a7b5467c6bb137ffd.zip
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
KBUILD_IMAGE := bootpImage
all: $(KBUILD_IMAGE)
-
bootpImage: vmlinux
-uImage: vmlinux
+boot_targets += uImage uImage.bin uImage.gz
+
+$(boot_targets): vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
%.dtb %.dtb.S %.dtb.o: scripts