summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/gdb/linux/Makefile
blob: 6cf1ecf610579e692075251d3f7cf52806c559b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
always := gdb-scripts

SRCTREE := $(shell cd $(srctree) && /bin/pwd)

$(obj)/gdb-scripts:
ifneq ($(KBUILD_SRC),)
	$(Q)ln -fsn $(SRCTREE)/$(obj)/*.py $(objtree)/$(obj)
endif
	@:

clean-files := *.pyc *.pyo $(if $(KBUILD_SRC),*.py)