tools: remove some .o and binary files on clean
PATCH 1/1 tools: remove some .o and binary files on clean
# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1300898687 0
# Node ID d7d3aabffa1b70955ba347cfbe3869b9461374ee # Parent 185126e8a8137b273b2d65c368f0836d8c6e461d
tools: remove some .o and binary files on clean
tools/xenmon/Makefile +3 -1
@@ -36,7 +36,9 @@ install: build .PHONY: clean clean: - rm -f $(DEPS) + $(RM) -f $(DEPS) + $(RM) -f xenbaked xenbaked.o + $(RM) -f xentrace_setmake setmask.o xenbaked: xenbaked.o Makefile $(CC) $(LDFLAGS) $< -o $@ $(LDLIBS)
tools/xenpmd/Makefile +1 -1
@@ -16,7 +16,7 @@ install: all .PHONY: clean clean: - $(RM) -f xenpmd $(DEPS) + $(RM) -f xenpmd xenpmd.o $(DEPS) xenpmd: xenpmd.o Makefile $(CC) $(LDFLAGS) $< -o $@ $(LDLIBS)
Ian Campbell writes ("[Xen-devel] [PATCH] tools: remove some .o and binary files on clean"):
tools/xenmon/Makefile install: build · line 43
Quoted 13 lines
diff -r
185126e8a813-rd7d3aabffa1btools/xenmon/Makefiletools/xenmon/Makefile +3
-1@@ -36,7 +36,9 @@ install: build .PHONY: clean clean: - rm -f $(DEPS) + $(RM) -f $(DEPS) + $(RM) -f xenbaked xenbaked.o + $(RM) -f xentrace_setmake setmask.o xenbaked: xenbaked.o Makefile
This patch is against something subtly different to xen-unstable.hg.
xen-unstable.hg contains this:
| clean: | rm -f $(BIN) $(DEPS) | | | %: %.c Makefile
Differences include: presence of $(BIN) rather than two consecutive spaces, and one or two blank lines.
Ian.
Quoted 19 lines · Ian Jackson
Ian Campbell writes ("[Xen-devel] [PATCH] tools: remove some .o and binary files on clean"):
tools/xenmon/Makefile install: build · line 43
Quoted 13 lines
diff -r
185126e8a813-rd7d3aabffa1btools/xenmon/Makefiletools/xenmon/Makefile +3
-1@@ -36,7 +36,9 @@ install: build .PHONY: clean clean: - rm -f $(DEPS) + $(RM) -f $(DEPS) + $(RM) -f xenbaked xenbaked.o + $(RM) -f xentrace_setmake setmask.o xenbaked: xenbaked.o MakefileThis patch is against something subtly different to xen-unstable.hg.
xen-unstable.hg contains this:
Quoted 8 lines
| clean: | rm -f $(BIN) $(DEPS) | | | %: %.c MakefileDifferences include: presence of $(BIN) rather than two consecutive spaces, and one or two blank lines.
It depends on "tools: remove pattern matched linking rules", which you've now applied I think. I guess this patch should have been part of that little series, sorry for that.
Ian.