diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-17 09:53:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-17 09:53:07 -0800 |
commit | 5cdddecc8b423308798453484149297a503e9cc0 (patch) | |
tree | 671a6a2ade9904bf99437104fd71f609be780737 | |
parent | ac0b50dd10ac0d30f2732eec0587f3632c2be725 (diff) | |
parent | 971edcfc8bee41c0b41e21bf10751c5b22028a82 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/fix-kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/fix-kbuild:
kbuild: re-enable Makefile generation in a new O=... directory
-rw-r--r-- | scripts/mkmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile index 9ad1bd79325..e0f54b9d8fe 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 |