Makefile 230 B

1234567891011
  1. always := gdb-scripts
  2. SRCTREE := $(shell cd $(srctree) && /bin/pwd)
  3. $(obj)/gdb-scripts:
  4. ifneq ($(KBUILD_SRC),)
  5. $(Q)ln -fsn $(SRCTREE)/$(obj)/*.py $(objtree)/$(obj)
  6. endif
  7. @:
  8. clean-files := *.pyc *.pyo $(if $(KBUILD_SRC),*.py)