public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Unfortunate infinite make recursion
@ 2007-09-22 11:24 Jan Engelhardt
  2007-09-22 15:42 ` Oleg Verych
  2007-09-22 20:52 ` Sam Ravnborg
  0 siblings, 2 replies; 9+ messages in thread
From: Jan Engelhardt @ 2007-09-22 11:24 UTC (permalink / raw)
  To: sam, zippel; +Cc: Linux Kernel Mailing List

Hi,


You can cause a recursion in kbuild/make with the following:

make O=$PWD kernel/time.o
make mrproper

Of course no one would use O=$PWD (that's just the testcase),
but this happened too often:

/ws/linux/linux-2.6.23$ make O=/ws/linux/linux-2.6.23 kernel/time.o
(Oops - should have been O=/ws/linux/obj-2.6.23!)

The make O=$PWD truncates the Makefile, making it necessary to run `git 
checkout Makefile` - should you have git; or reextract the tarball 
(should you /still/ have it). Well, can we catch this case somehow?


thanks,
Jan

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

end of thread, other threads:[~2007-09-23  7:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <96blF-29e-27@gated-at.bofh.it>
2007-09-22 21:19 ` Unfortunate infinite make recursion Bodo Eggert
2007-09-22 11:24 Jan Engelhardt
2007-09-22 15:42 ` Oleg Verych
2007-09-22 20:40   ` Sam Ravnborg
2007-09-22 22:23     ` Oleg Verych
2007-09-23  6:03       ` Sam Ravnborg
2007-09-23  7:37         ` Oleg Verych
2007-09-22 20:52 ` Sam Ravnborg
2007-09-23  6:17   ` Jan Engelhardt

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