# SPDX-License-Identifier: GPL-2.0 always := gdb-scripts SRCTREE := $(abspath $(srctree)) $(obj)/gdb-scripts: ifneq ($(KBUILD_SRC),) $(Q)ln -fsn $(SRCTREE)/$(obj)/*.py $(objtree)/$(obj) endif @: quiet_cmd_gen_constants_py = GEN $@ cmd_gen_constants_py = \ $(CPP) -E -x c -P $(c_flags) $< > $@ ;\ sed -i '1,/<!-- end-c-headers -->/d;' $@ targets += constants.py $(obj)/constants.py: $(SRCTREE)/$(obj)/constants.py.in FORCE $(call if_changed_dep,gen_constants_py) build_constants_py: $(obj)/constants.py @: clean-files := *.pyc *.pyo $(if $(KBUILD_SRC),*.py) $(obj)/constants.py
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.gitignore | File | 25 B | 0644 |
|
Makefile | File | 599 B | 0644 |
|
__init__.py | File | 55 B | 0644 |
|
constants.py.in | File | 1.3 KB | 0644 |
|
cpus.py | File | 4.44 KB | 0644 |
|
dmesg.py | File | 2.43 KB | 0644 |
|
lists.py | File | 3.55 KB | 0644 |
|
modules.py | File | 2.54 KB | 0644 |
|
proc.py | File | 8.41 KB | 0644 |
|
symbols.py | File | 6.28 KB | 0644 |
|
tasks.py | File | 3.46 KB | 0644 |
|
utils.py | File | 4.72 KB | 0644 |
|