diff options
author | Sam Ravnborg <sam@neptun.(none)> | 2007-09-26 19:38:44 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-12 21:15:32 +0200 |
commit | 4f1127e204377cbd2a56d112d323466f668e8334 (patch) | |
tree | 8d73e1d7bd0e4a728f7896b766f6ce596bd8e0b2 /arch/powerpc/math-emu/single.h | |
parent | kconfig: fix segv fault in menuconfig (diff) | |
download | linux-4f1127e204377cbd2a56d112d323466f668e8334.tar.xz linux-4f1127e204377cbd2a56d112d323466f668e8334.zip |
kbuild: fix infinite make recursion
Jan Engelhardt <jengelh@computergmbh.de> reported:
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!)
Fixed by an explicit test for this case - we error
out if output directory and source directory are the same.
Tested-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/powerpc/math-emu/single.h')
0 files changed, 0 insertions, 0 deletions