forked from luck/tmp_suning_uos_patched
kbuild: re-enable Makefile generation in a new O=... directory
The commit:
18c32dac75
"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>
This commit is contained in:
parent
da8cadb31b
commit
971edcfc8b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user