Unfortunate infinite make recursion
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Jan Engelhardt
You can cause a recursion in kbuild/make with the following:
make O=$PWD
kernel/time.o
make mrproperOf course no one would use O=$PWD (that's just the testcase), but this happened too often:
Quoted 6 lines
/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 rungit checkout Makefile- should you have git; or reextract the tarball (should you /still/ have it). Well, can we catch this case somehow?
You can test for the existence of MAINTAINERS in the build dir and abort if it's there.
Signature · 4 lines
My computer isn't that nervous...it's just a bit ANSI. Friß, Spammer: [email protected] [email protected] [email protected] [email protected]