From: Kenn H. <ke...@us...> - 2005-04-07 22:56:34
|
Update of /cvsroot/linux-vax/kernel-2.5/Documentation/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32722/Documentation/vax Modified Files: README Log Message: Revert the top-level Makefile to pristine condition. Side effect is that we will have to start using ARCH=vax on our make command line (or define ARCH=vax in the environment). We should get used to doing this anyway, since we'll have to do it once we merge with mainline. Of course, VAX hackers are free to locally modify their Makefile to set ARCH ?= vax, as long as this doesn't get committed to CVS Index: README =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Documentation/vax/README,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- README 17 Aug 2004 09:09:01 -0000 1.6 +++ README 7 Apr 2005 22:56:25 -0000 1.7 @@ -80,32 +80,33 @@ Start with one of the default configs (i.e. run one of these commands): - make O=~/linux-vax/kbuild ka650_defconfig - make O=~/linux-vax/kbuild ka46_defconfig - make O=~/linux-vax/kbuild ka43_defconfig + make ARCH=vax O=~/linux-vax/kbuild ka650_defconfig + make ARCH=vax O=~/linux-vax/kbuild ka46_defconfig + make ARCH=vax O=~/linux-vax/kbuild ka43_defconfig You could of course, have multiple output directories, one for each config. Tweak the config if you want: - make O=~/linux-vax/kbuild config + make ARCH=vax O=~/linux-vax/kbuild config BTW, as a shorthand, you can define a KBUILD_OUTPUT environment variable rather than type O=... all the time. Now build the kernel: - make O=~/linux-vax/kbuild + make ARCH=vax O=~/linux-vax/kbuild - (Note that there is no 'make dep' any more.) + (As an alternative to specifying ARCH=vax on the make command line, you + can set ARCH=vax in your environment instead.) This will create a MOP-bootable image called vmlinux.SYS If you have your VAX and Linux machine on the same SCSI chain and you've got a scratch disk handy, you can do - $ make diskboot && dd if=vmlinux.dsk of=/dev/sdX + $ make ARCH=vax diskboot && dd if=vmlinux.dsk of=/dev/sdX and then tell your VAX to boot from this disk. This is faster than netbooting. |