File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717# Mike Shaver, Helge Deller and Martin K. Petersen
1818#
1919
20+ KBUILD_IMAGE := vmlinuz
21+
2022KBUILD_DEFCONFIG := default_defconfig
2123
2224NM = sh $(srctree ) /arch/parisc/nm
@@ -92,7 +94,7 @@ PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \
9294 else echo $(obj ) /palo.conf; \
9395 fi)
9496
95- palo : vmlinux
97+ palo : vmlinuz
9698 @if test ! -x " $( PALO) " ; then \
9799 echo ' ERROR: Please install palo first (apt-get install palo)' ; \
98100 echo ' or build it from source and install it somewhere in your $$PATH' ; \
@@ -107,10 +109,14 @@ palo: vmlinux
107109 fi
108110 $(PALO ) -f $(PALOCONF )
109111
110- # Shorthands for known targets not supported by parisc, use vmlinux as default
111- Image zImage bzImage : vmlinux
112+ # Shorthands for known targets not supported by parisc, use vmlinux/vmlinuz as default
113+ Image : vmlinux
114+ zImage bzImage : vmlinuz
115+
116+ vmlinuz : vmlinux
117+ @gzip -cf -9 $< > $@
112118
113- install : vmlinux
119+ install : vmlinuz
114120 sh $(src ) /arch/parisc/install.sh \
115121 $(KERNELRELEASE ) $< System.map " $( INSTALL_PATH) "
116122
@@ -119,6 +125,7 @@ MRPROPER_FILES += palo.conf
119125
120126define archhelp
121127 @echo '* vmlinux - Uncompressed kernel image (./vmlinux)'
128+ @echo ' vmlinuz - Compressed kernel image (./vmlinuz)'
122129 @echo ' palo - Bootable image (./lifimage)'
123130 @echo ' install - Install kernel using'
124131 @echo ' (your) ~/bin/$(INSTALLKERNEL ) or'
Original file line number Diff line number Diff line change 44# Most people using 'make palo' want a bootable file, usable for
55# network or tape booting for example.
66--init-tape=lifimage
7- --recoverykernel=vmlinux
7+ --recoverykernel=vmlinuz
88
99########## Pick your ROOT here! ##########
1010# You need at least one 'root='!
1111#
1212# If you want a root ramdisk, use the next 2 lines
1313# (Edit the ramdisk image name!!!!)
1414--ramdisk=ram-disk-image-file
15- --commandline=0/vmlinux HOME=/ root=/dev/ram initrd=0/ramdisk
15+ --commandline=0/vmlinuz HOME=/ root=/dev/ram initrd=0/ramdisk panic_timeout=60 panic=-1
1616
1717# If you want NFS root, use the following command line (Edit the HOSTNAME!!!)
18- #--commandline=0/vmlinux HOME=/ root=/dev/nfs nfsroot=HOSTNAME ip=bootp
18+ #--commandline=0/vmlinuz HOME=/ root=/dev/nfs nfsroot=HOSTNAME ip=bootp
1919
2020# If you have root on a disk partition, use this (Edit the partition name!!!)
21- #--commandline=0/vmlinux HOME=/ root=/dev/sda1
21+ #--commandline=0/vmlinuz HOME=/ root=/dev/sda1
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
2626
2727# Default install
2828
29- if [ -f $4 /vmlinux ]; then
30- mv $4 /vmlinux $4 /vmlinux .old
29+ if [ -f $4 /vmlinuz ]; then
30+ mv $4 /vmlinuz $4 /vmlinuz .old
3131fi
3232
3333if [ -f $4 /System.map ]; then
3434 mv $4 /System.map $4 /System.old
3535fi
3636
37- cat $2 > $4 /vmlinux
37+ cat $2 > $4 /vmlinuz
3838cp $3 $4 /System.map
You can’t perform that action at this time.
0 commit comments