Commit 94d5d40e authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 463f7d6a
......@@ -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; \
......
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