Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=971edcfc8bee41c0b41e21bf10751c5b22028a82
Commit:     971edcfc8bee41c0b41e21bf10751c5b22028a82
Parent:     da8cadb31b82c9d41fc593c8deab6aa20b162d6b
Author:     Guillaume Chazarain <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 11 13:22:08 2007 +0100
Committer:  Sam Ravnborg <[EMAIL PROTECTED]>
CommitDate: Thu Dec 13 19:19:20 2007 +0100

    kbuild: re-enable Makefile generation in a new O=... directory
    
    The commit:
    18c32dac75b187d1a4e858f3cfdf03e844129f5e "kbuild: fix
    building with O=.. options"
    disabled the creation of a Makefile in a new O=... directory. Restore it.
    
    Signed-off-by: Guillaume Chazarain <[EMAIL PROTECTED]>
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
 scripts/mkmakefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 9ad1bd7..e0f54b9 100644
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -13,7 +13,7 @@
 test ! -r $2/Makefile -o -O $2/Makefile || exit 0
 # Only overwrite automatically generated Makefiles
 # (so we do not overwrite kernel Makefile)
-if ! grep -q Automatically $2/Makefile
+if test -e $2/Makefile && ! grep -q Automatically $2/Makefile
 then
        exit 0
 fi
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to