Re: [PATCH] kbuild: scripts/gdb: bring the "abspath" back
From: Doug Anderson
Date: Thu Jun 20 2024 - 17:52:04 EST
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.
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
Tested-by: Douglas Anderson <dianders@xxxxxxxxxxxx>