Re: [PATCH] kbuild: scripts/gdb: bring the "abspath" back

From: Joel Granados
Date: Mon Jun 24 2024 - 02:20:17 EST


On Thu, Jun 20, 2024 at 02:51:41PM -0700, Doug Anderson wrote:
> Hi,
>
> On Thu, Jun 20, 2024 at 12:48 PM Joel Granados via B4 Relay
> <devnull+j.granados.samsung.com@xxxxxxxxxx> wrote:
> >
> > From: Joel Granados <j.granados@xxxxxxxxxxx>
> >
> > Use the "abspath" call when symlinking the gdb python scripts in
> > scripts/gdb/linux. This call is needed to avoid broken links when
> > running the scripts_gdb target on a different build directory
> > (O=builddir).
> >
> > Fixes: 659bbf7e1b08 ("kbuild: scripts/gdb: Replace missed $(srctree)/$(src) w/ $(src)")
> > Signed-off-by: Joel Granados <j.granados@xxxxxxxxxxx>
> > ---
> > scripts/gdb/linux/Makefile | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Ah, good call. Yeah, this makes sense to me and also seems to produce
> reasonable symlinks. Sorry for not coming up with this originally.
No worries. Please tell me if you need me to do something else to
upstream this

Best

--

Joel Granados