diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-12-28 21:12:15 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-12-28 21:12:15 +0100 |
commit | 94d5d40eb8d76102c7fc75dc9826633c9a2b6fd8 (patch) | |
tree | 1d44ed44e4334c60de728fbfc840b4d07baacf37 /Makefile | |
parent | 463f7d6a320c2af5721f73e048458e249dcccb2b (diff) | |
download | history-94d5d40eb8d76102c7fc75dc9826633c9a2b6fd8.tar.gz |
kbuild: drop use of /usr/bin/env in top-level Makefile
The use of env is not needed, and caused the output makefile to be
created in some setups where it was not supposed to.
Seems to be an issue with GNU sh-utils version of env.
One user also reported env to be located in another place (/usr/local/bin/..).
This patch fixes bug: http://bugme.osdl.org/show_bug.cgi?id=3953
Thanks to "Mark Williams (MWP)" <mwp@internode.on.net> for helping tracking this down.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 2d6b9c0c4ede46..e7236d78e8f1af 100644 --- a/Makefile +++ b/Makefile @@ -389,7 +389,7 @@ scripts_basic: # using a seperate output directory. This allows convinient use # of make in output directory outputmakefile: - $(Q)if /usr/bin/env test ! $(srctree) -ef $(objtree); then \ + $(Q)if test ! $(srctree) -ef $(objtree); then \ $(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) \ > $(objtree)/Makefile; \ |