diff options
Diffstat (limited to 'scripts/gdb/linux')
| -rw-r--r-- | scripts/gdb/linux/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/gdb/linux/Makefile b/scripts/gdb/linux/Makefile new file mode 100644 index 000000000000..6cf1ecf61057 --- /dev/null +++ b/scripts/gdb/linux/Makefile | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | always := gdb-scripts | ||
| 2 | |||
| 3 | SRCTREE := $(shell cd $(srctree) && /bin/pwd) | ||
| 4 | |||
| 5 | $(obj)/gdb-scripts: | ||
| 6 | ifneq ($(KBUILD_SRC),) | ||
| 7 | $(Q)ln -fsn $(SRCTREE)/$(obj)/*.py $(objtree)/$(obj) | ||
| 8 | endif | ||
| 9 | @: | ||
| 10 | |||
| 11 | clean-files := *.pyc *.pyo $(if $(KBUILD_SRC),*.py) | ||
