aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/Makefile')
-rw-r--r--arch/parisc/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 96ec3982be8d..e02f665f804a 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -17,6 +17,8 @@
17# Mike Shaver, Helge Deller and Martin K. Petersen 17# Mike Shaver, Helge Deller and Martin K. Petersen
18# 18#
19 19
20KBUILD_IMAGE := vmlinuz
21
20KBUILD_DEFCONFIG := default_defconfig 22KBUILD_DEFCONFIG := default_defconfig
21 23
22NM = sh $(srctree)/arch/parisc/nm 24NM = sh $(srctree)/arch/parisc/nm
@@ -92,7 +94,7 @@ PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \
92 else echo $(obj)/palo.conf; \ 94 else echo $(obj)/palo.conf; \
93 fi) 95 fi)
94 96
95palo: vmlinux 97palo: vmlinuz
96 @if test ! -x "$(PALO)"; then \ 98 @if test ! -x "$(PALO)"; then \
97 echo 'ERROR: Please install palo first (apt-get install palo)';\ 99 echo 'ERROR: Please install palo first (apt-get install palo)';\
98 echo 'or build it from source and install it somewhere in your $$PATH';\ 100 echo 'or build it from source and install it somewhere in your $$PATH';\
@@ -107,10 +109,14 @@ palo: vmlinux
107 fi 109 fi
108 $(PALO) -f $(PALOCONF) 110 $(PALO) -f $(PALOCONF)
109 111
110# Shorthands for known targets not supported by parisc, use vmlinux as default 112# Shorthands for known targets not supported by parisc, use vmlinux/vmlinuz as default
111Image zImage bzImage: vmlinux 113Image: vmlinux
114zImage bzImage: vmlinuz
115
116vmlinuz: vmlinux
117 @gzip -cf -9 $< > $@
112 118
113install: vmlinux 119install: vmlinuz
114 sh $(src)/arch/parisc/install.sh \ 120 sh $(src)/arch/parisc/install.sh \
115 $(KERNELRELEASE) $< System.map "$(INSTALL_PATH)" 121 $(KERNELRELEASE) $< System.map "$(INSTALL_PATH)"
116 122
@@ -119,6 +125,7 @@ MRPROPER_FILES += palo.conf
119 125
120define archhelp 126define archhelp
121 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)' 127 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
128 @echo ' vmlinuz - Compressed kernel image (./vmlinuz)'
122 @echo ' palo - Bootable image (./lifimage)' 129 @echo ' palo - Bootable image (./lifimage)'
123 @echo ' install - Install kernel using' 130 @echo ' install - Install kernel using'
124 @echo ' (your) ~/bin/$(INSTALLKERNEL) or' 131 @echo ' (your) ~/bin/$(INSTALLKERNEL) or'