Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 7 Sep 2002 21:45:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 7 Sep 2002 21:45:57 -0400 Received: from CPE00606767ed59.cpe.net.cable.rogers.com ([24.112.38.222]:27400 "EHLO cpe00606767ed59.cpe.net.cable.rogers.com") by vger.kernel.org with ESMTP id ; Sat, 7 Sep 2002 21:45:56 -0400 Date: Sat, 7 Sep 2002 21:51:55 -0400 (EDT) From: "D. Hugh Redelmeier" Reply-To: "D. Hugh Redelmeier" To: Linux Kernel List , Subject: clean before or after dep? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 41 I'm having a problem building a Red Hat kernel (kernel-source-2.4.18-10). It looks a lot like: The error message is: make[4]: *** No rule to make target `/usr/src/linux-2.4.18-10/drivers/pci/devlist.h', needed by `names.o'. Stop. The fix proposed in is to reverse the order of clean and dep: a kind soul pointed out that I should do: make clean dep make bzimage instead. Works. Learned a new trick :-) Now this seems to contradict which specifies, in step 5: bash# make dep bash# make clean Which is the right order for clean and dep? I've always assumed that they could be combined, as in: bash# make dep clean Am I wrong? Where is this documented? Hugh Redelmeier hugh@mimosa.com voice: +1 416 482-8253 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/