|
@@ -17,6 +17,8 @@
|
|
|
# Mike Shaver, Helge Deller and Martin K. Petersen
|
|
|
#
|
|
|
|
|
|
+KBUILD_IMAGE := vmlinuz
|
|
|
+
|
|
|
KBUILD_DEFCONFIG := default_defconfig
|
|
|
|
|
|
NM = sh $(srctree)/arch/parisc/nm
|
|
@@ -92,7 +94,7 @@ PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \
|
|
|
else echo $(obj)/palo.conf; \
|
|
|
fi)
|
|
|
|
|
|
-palo: vmlinux
|
|
|
+palo: vmlinuz
|
|
|
@if test ! -x "$(PALO)"; then \
|
|
|
echo 'ERROR: Please install palo first (apt-get install palo)';\
|
|
|
echo 'or build it from source and install it somewhere in your $$PATH';\
|
|
@@ -107,10 +109,14 @@ palo: vmlinux
|
|
|
fi
|
|
|
$(PALO) -f $(PALOCONF)
|
|
|
|
|
|
-# Shorthands for known targets not supported by parisc, use vmlinux as default
|
|
|
-Image zImage bzImage: vmlinux
|
|
|
+# Shorthands for known targets not supported by parisc, use vmlinux/vmlinuz as default
|
|
|
+Image: vmlinux
|
|
|
+zImage bzImage: vmlinuz
|
|
|
+
|
|
|
+vmlinuz: vmlinux
|
|
|
+ @gzip -cf -9 $< > $@
|
|
|
|
|
|
-install: vmlinux
|
|
|
+install: vmlinuz
|
|
|
sh $(src)/arch/parisc/install.sh \
|
|
|
$(KERNELRELEASE) $< System.map "$(INSTALL_PATH)"
|
|
|
|
|
@@ -119,6 +125,7 @@ MRPROPER_FILES += palo.conf
|
|
|
|
|
|
define archhelp
|
|
|
@echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
|
|
|
+ @echo ' vmlinuz - Compressed kernel image (./vmlinuz)'
|
|
|
@echo ' palo - Bootable image (./lifimage)'
|
|
|
@echo ' install - Install kernel using'
|
|
|
@echo ' (your) ~/bin/$(INSTALLKERNEL) or'
|