Commit 971edcfc authored by Guillaume Chazarain's avatar Guillaume Chazarain Committed by Sam Ravnborg

kbuild: re-enable Makefile generation in a new O=... directory

The commit:
18c32dac "kbuild: fix
building with O=.. options"
disabled the creation of a Makefile in a new O=... directory. Restore it.
Signed-off-by: default avatarGuillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent da8cadb3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment