diff options
Diffstat (limited to 'arch/parisc/Makefile')
-rw-r--r-- | arch/parisc/Makefile | 15 |
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 | ||
20 | KBUILD_IMAGE := vmlinuz | ||
21 | |||
20 | KBUILD_DEFCONFIG := default_defconfig | 22 | KBUILD_DEFCONFIG := default_defconfig |
21 | 23 | ||
22 | NM = sh $(srctree)/arch/parisc/nm | 24 | NM = 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 | ||
95 | palo: vmlinux | 97 | palo: 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 |
111 | Image zImage bzImage: vmlinux | 113 | Image: vmlinux |
114 | zImage bzImage: vmlinuz | ||
115 | |||
116 | vmlinuz: vmlinux | ||
117 | @gzip -cf -9 $< > $@ | ||
112 | 118 | ||
113 | install: vmlinux | 119 | install: 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 | ||
120 | define archhelp | 126 | define 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' |