Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1375475
| From | Jan Kiszka <jan.kiszka@siemens.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd) |
| Date | 2016-04-11 06:10 +0200 |
| Message-ID | <rmBkL-88x-27@gated-at.bofh.it> (permalink) |
| References | <rlAK6-1xG-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2016-04-08 02:16, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Avoid forking off a shell to resolve the absolute path of the output > directory when make's builtin $(abspath ...) function will do an > adequate job. > > Signed-off-by: Thierry Reding <treding@nvidia.com> > --- > scripts/gdb/linux/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/gdb/linux/Makefile b/scripts/gdb/linux/Makefile > index 6cf1ecf61057..d8b88e22e16a 100644 > --- a/scripts/gdb/linux/Makefile > +++ b/scripts/gdb/linux/Makefile > @@ -1,6 +1,6 @@ > always := gdb-scripts > > -SRCTREE := $(shell cd $(srctree) && /bin/pwd) > +SRCTREE := $(abspath $(srctree)) > > $(obj)/gdb-scripts: > ifneq ($(KBUILD_SRC),) > Thanks, good cleanup. Queued. Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd) Thierry Reding <thierry.reding@gmail.com> - 2016-04-08 11:20 +0200 Re: [PATCH] scripts/gdb: Use $(abspath ...) instead of $(shell cd ... && pwd) Jan Kiszka <jan.kiszka@siemens.com> - 2016-04-11 06:10 +0200
csiph-web