projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8cadb
)
kbuild: re-enable Makefile generation in a new O=... directory
author
Guillaume Chazarain
<
[email protected]
>
Tue, 11 Dec 2007 12:22:08 +0000
(13:22 +0100)
committer
Sam Ravnborg
<
[email protected]
>
Thu, 13 Dec 2007 18:19:20 +0000
(19:19 +0100)
The commit:
18c32dac75b187d1a4e858f3cfdf03e844129f5e
"kbuild: fix
building with O=.. options"
disabled the creation of a Makefile in a new O=... directory. Restore it.
Signed-off-by: Guillaume Chazarain <
[email protected]
>
Signed-off-by: Sam Ravnborg <
[email protected]
>
scripts/mkmakefile
patch
|
blob
|
history
diff --git
a/scripts/mkmakefile
b/scripts/mkmakefile
index 9ad1bd793252ff4241e99813b3c179afc99e9363..e0f54b9d8feca95bf693ec7cc9ad294bd70ab1df 100644
(file)
--- 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