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)