mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* clean before or after dep?
@ 2002-09-08  1:51 D. Hugh Redelmeier
  2002-09-08 13:13 ` Alan Cox
  0 siblings, 1 reply; 12+ messages in thread
From: D. Hugh Redelmeier @ 2002-09-08  1:51 UTC (permalink / raw)
  To: Linux Kernel List, Martin.Knoblauch

I'm having a problem building a Red Hat kernel
(kernel-source-2.4.18-10).

It looks a lot like:
	<http://www.van-dijk.net/linuxkernel/200223/0349.html>

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 <http://www.van-dijk.net/linuxkernel/200223/0432.html>
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
	<http://www.tldp.org/HOWTO/Kernel-HOWTO-2.html#ss2.3>
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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-09-09 17:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-08  1:51 clean before or after dep? D. Hugh Redelmeier
2002-09-08 13:13 ` Alan Cox
2002-09-08 13:31   ` Joe Kellner
2002-09-08 13:53     ` Dr. David Alan Gilbert
2002-09-09 18:03       ` Thunder from the hill
2002-09-08 14:53   ` Sam Ravnborg
2002-09-08 17:51     ` Thomas Molina
2002-09-08 18:09   ` D. Hugh Redelmeier
2002-09-08 18:50     ` Sam Ravnborg
2002-09-08 18:54       ` jbradford
2002-09-08 19:23         ` Sam Ravnborg
2002-09-09  7:29       ` Helge Hafting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®