linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove validation/tmp.o in clean target
@ 2015-07-19  9:57 Uwe Kleine-König
  2015-07-19 10:03 ` [PATCH v2] " Uwe Kleine-König
  2015-08-04  6:44 ` [PATCH] " Christopher Li
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2015-07-19  9:57 UTC (permalink / raw)
  To: linux-sparse

To prevent validation/tmp.o being still around after

	make check && make clean

remove it as part of the latter command.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c7031afda00b..bc837db7c3f6 100644
--- a/Makefile
+++ b/Makefile
@@ -199,7 +199,7 @@ compat-cygwin.o: $(LIB_H)
 	$(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $<
 
 clean: clean-check
-	rm -f *.[oa] .*.d *.so $(PROGRAMS) $(SLIB_FILE) pre-process.h sparse.pc
+	rm -f *.[oa] .*.d *.so $(PROGRAMS) $(SLIB_FILE) pre-process.h sparse.pc validation/*.[oa]
 
 dist:
 	@if test "$(SPARSE_VERSION)" != "v$(VERSION)" ; then \
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH v2] remove validation/tmp.o in clean target
  2015-07-19  9:57 [PATCH] remove validation/tmp.o in clean target Uwe Kleine-König
@ 2015-07-19 10:03 ` Uwe Kleine-König
  2015-08-04  6:44 ` [PATCH] " Christopher Li
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2015-07-19 10:03 UTC (permalink / raw)
  To: linux-sparse

To prevent validation/tmp.o being still around after

	make check && make clean

remove it as part of the latter command.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index c7031afda00b..69e758da2fbf 100644
--- a/Makefile
+++ b/Makefile
@@ -218,4 +218,5 @@ clean-check:
 	                 -o -name "*.c.error.expected" \
 	                 -o -name "*.c.error.got" \
 	                 -o -name "*.c.error.diff" \
+			 -o -name "*.o" \
 	                 \) -exec rm {} \;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] remove validation/tmp.o in clean target
  2015-07-19  9:57 [PATCH] remove validation/tmp.o in clean target Uwe Kleine-König
  2015-07-19 10:03 ` [PATCH v2] " Uwe Kleine-König
@ 2015-08-04  6:44 ` Christopher Li
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Li @ 2015-08-04  6:44 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Linux-Sparse

On Sun, Jul 19, 2015 at 5:57 AM, Uwe Kleine-König <uwe@kleine-koenig.org> wrote:
> To prevent validation/tmp.o being still around after
>
>         make check && make clean
>
> remove it as part of the latter command.

Looks good. I would like to apply it.

Can you send me a "signed-off-by" line please?
While you are at it, you can combine the two patches into one.

Thanks

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-04  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-19  9:57 [PATCH] remove validation/tmp.o in clean target Uwe Kleine-König
2015-07-19 10:03 ` [PATCH v2] " Uwe Kleine-König
2015-08-04  6:44 ` [PATCH] " Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).