文件操作 - Makefile
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/scripts/gdb/linux/Makefile
编辑文件内容
# SPDX-License-Identifier: GPL-2.0 ifdef building_out_of_srctree symlinks := $(patsubst $(srctree)/$(src)/%,%,$(wildcard $(srctree)/$(src)/*.py)) quiet_cmd_symlink = SYMLINK $@ cmd_symlink = ln -fsn $(patsubst $(obj)/%,$(abspath $(srctree))/$(src)/%,$@) $@ always-y += $(symlinks) $(addprefix $(obj)/, $(symlinks)): FORCE $(call if_changed,symlink) 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;' $@ always-y += constants.py $(obj)/constants.py: $(src)/constants.py.in FORCE $(call if_changed_dep,gen_constants_py) clean-files := *.pyc *.pyo
修改文件时间
将文件时间修改为当前时间的前一年
删除文件