On Wed, 2012-08-15 at 18:39 +0200, Borislav Petkov wrote:
> diff --git a/tools/scripts/Makefile.include b/tools/scripts/Makefile.include
> index bde8521d56bb..96ce80a3743b 100644
> --- a/tools/scripts/Makefile.include
> +++ b/tools/scripts/Makefile.include
> @@ -1,6 +1,8 @@
> ifeq ("$(origin O)", "command line")
> - OUTPUT := $(O)/
> - COMMAND_O := O=$(O)
> + dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does
> not exist),)
> + ABSOLUTE_O := $(shell cd $(O) ; pwd)
> + OUTPUT := $(ABSOLUTE_O)/
> + COMMAND_O := O=$(ABSOLUTE_O)
> endif
>
Acked-by: Steven Rostedt <[email protected]>
Arnaldo, can you pick this patch? Keep both the Signed-off-bys that
Boris placed.
Thanks!
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/