提交 7586317b 编写于 作者: M Michael S. Tsirkin

rules/mak: make clean should blow away timestamp files

Using a global pattern makes it easier to clean out
old generated files.
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 6f329a55
......@@ -88,6 +88,11 @@ config-%.h: config-%.h-timestamp
config-%.h-timestamp: config-%.mak
$(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " GEN $(TARGET_DIR)config-$*.h")
.PHONY: clean-timestamp
clean-timestamp:
rm -f *.timestamp
clean: clean-timestamp
# will delete the target of a rule if commands exit with a nonzero exit status
.DELETE_ON_ERROR:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册