From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11956 invoked from network); 2 Nov 1999 16:21:55 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Nov 1999 16:21:55 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA30764 for ; Tue, 2 Nov 1999 11:21:55 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA11541 for axp-list@redhat.com; Tue, 2 Nov 1999 09:21:52 -0700 From: Michal Jaegermann Message-Id: <199911021621.JAA11541@ellpspace.math.ualberta.ca> Subject: Re: Kernel compile To: axp-list@redhat.com Date: Tue, 2 Nov 1999 09:21:52 -0700 (MST) In-Reply-To: <01bf252c$34e3db40$cb01000a@tombrowd> from "Tom Browder" at Nov 2, 99 06:17:18 am Content-Type: text Tom Browder wrote: > > This undocumented trick coninues to confuse us folks who use other > architectures as well as the alpha. I would have a small quarrel with an "undocumented trick" description (cf. 'man make') but indeed in the past I submitted small patches both to documentation and a screen message. So far they were ignored, and is a small mystery to me why, but complaints on axp-list will not get you very far. Submit similar patches yourself again and again and maybe one day they will get through. For the time beeing try that on your kernel sources: --- linux.orig/scripts/Configure~ Mon Feb 1 13:03:20 1999 +++ linux/scripts/Configure Mon Jul 26 18:04:34 1999 @@ -525,7 +525,11 @@ if [ ! -f .hdepend -o "$CONFIG_MODVERSIONS" = "y" ] ; then echo "*** Next, you must run 'make dep'." else + if expr "`arch`" : "i" > /dev/null 2>&1 ; then echo "*** Next, you may run 'make zImage', 'make zdisk', or 'make zlilo'." + else + echo "*** Next, you may run 'make boot modules'." + fi fi echo > Or, better, why can't the make commands be the > same? In some sense they ARE the same as 'make boot' works across all platforms and on i386 happens to be exactly equivalent to 'make zImage'. Have a peek at Makefiles and see that for yourself. OTOH they cannot be made totally the same as you have a lot of platform specific targets. For example 'make zlilo' or 'make bzImage' do not have neither sense nor a reasonable representation on Alpha. Look into arch/alpha/boot/Makefile for further examples. Michal