Skip to content

Commit

Permalink
kbuild: re-enable Makefile generation in a new O=... directory
Browse files Browse the repository at this point in the history
The commit:
18c32da "kbuild: fix
building with O=.. options"
disabled the creation of a Makefile in a new O=... directory. Restore it.

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Guillaume Chazarain authored and Sam Ravnborg committed Dec 13, 2007
1 parent da8cadb commit 971edcf
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 971edcf

Please sign in to comment.