Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/fix-kbuild
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/fix-kbuild:
  kbuild: re-enable Makefile generation in a new O=... directory
  • Loading branch information
Linus Torvalds committed Dec 17, 2007
2 parents ac0b50d + 971edcf commit 5cdddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mkmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cdddec

Please sign in to comment.