lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53FB3CE7.9060609@suse.cz>
Date:	Mon, 25 Aug 2014 15:40:55 +0200
From:	Michal Marek <mmarek@...e.cz>
To:	Boaz Harrosh <boaz@...xistor.com>,
	Stable Tree <stable@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>
CC:	David Howells <dhowells@...hat.com>
Subject: Re: [PATCH] Makefile: One last adjustment to relative paths

On 2014-08-25 10:50, Boaz Harrosh wrote:
> the simple fix is to have "Entering directory" print full path.
> 
> [Stable needed for 3.16]
> CC: Stable Tree <stable@...r.kernel.org>
> Signed-off-by: Boaz Harrosh <boaz@...xistor.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 6b27741..973c48f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -178,7 +178,7 @@ $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
>   quiet_echodir := @echo
>  silent_echodir := @:
>  sub-make: FORCE
> -	$($(quiet)echodir) "make[1]: Entering directory \`$(KBUILD_OUTPUT)'"
> +	$($(quiet)echodir) "make[1]: Entering directory \`$(CURDIR)/$(KBUILD_OUTPUT)'"

KBUILD_OUTPUT is converted to an absolute path a few lines earlier:

KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \
								&& /bin/pwd)

So I don't understand why are you getting a message with a relative
path. I get an absolute path as expected here:
$ mkdir aaa
$ make O=aaa defconfig
make[1]: Entering directory `/home/mmarek/linux-2.6/aaa'
...

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ