mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 00:28:52 +02:00 
			
		
		
		
	kbuild: scripts/gdb: bring the "abspath" back
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 build directory located directly
under the source tree (e.g., O=builddir).
Fixes: 659bbf7e1b ("kbuild: scripts/gdb: Replace missed $(srctree)/$(src) w/ $(src)")
Signed-off-by: Joel Granados <j.granados@samsung.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									7ed9d1318c
								
							
						
					
					
						commit
						a11aaf6d0b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ ifdef building_out_of_srctree | |||
| symlinks := $(patsubst $(src)/%,%,$(wildcard $(src)/*.py)) | ||||
| 
 | ||||
| quiet_cmd_symlink = SYMLINK $@ | ||||
|       cmd_symlink = ln -fsn $(patsubst $(obj)/%,$(src)/%,$@) $@ | ||||
|       cmd_symlink = ln -fsn $(patsubst $(obj)/%,$(abspath $(src))/%,$@) $@ | ||||
| 
 | ||||
| always-y += $(symlinks) | ||||
| $(addprefix $(obj)/, $(symlinks)): FORCE | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Joel Granados
						Joel Granados