xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: george.dunlap@eu.citrix.com
Subject: [PATCH 1 of 2] build: Don't remove user-supplied xen-version during make clean
Date: Tue, 6 Mar 2012 18:12:16 +0000	[thread overview]
Message-ID: <b5faa10db14df17d6771.1331057536@kodo2> (raw)
In-Reply-To: <patchbomb.1331057535@kodo2>

xen/Makefile is designed to allow the user to supply a file named
xen/xen-include to change the format of xen version strings.  Unfortunately,
"make clean" removes xen/xen*, which will remove this file.

Make the clean process more targeted.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>

diff -r e88a49951212 -r b5faa10db14d xen/Makefile
--- a/xen/Makefile	Tue Mar 06 16:43:01 2012 +0100
+++ b/xen/Makefile	Tue Mar 06 18:11:32 2012 +0000
@@ -61,7 +61,7 @@ _clean: delete-unfresh-files
 	$(MAKE) -f $(BASEDIR)/Rules.mk -C xsm clean
 	$(MAKE) -f $(BASEDIR)/Rules.mk -C crypto clean
 	$(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) clean
-	rm -f include/asm *.o $(TARGET)* *~ core
+	rm -f include/asm *.o $(TARGET) $(TARGET).gz $(TARGET)-syms *~ core
 	rm -f include/asm-*/asm-offsets.h
 	[ -d tools/figlet ] && rm -f .banner*

  reply	other threads:[~2012-03-06 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 18:12 [PATCH 0 of 2] build: Some tweaks with makefiles and versions George Dunlap
2012-03-06 18:12 ` George Dunlap [this message]
2012-03-07  8:31   ` [PATCH 1 of 2] build: Don't remove user-supplied xen-version during make clean Jan Beulich
2012-03-06 18:12 ` [PATCH 2 of 2] build: Add xenversion as a top-level target George Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5faa10db14df17d6771.1331057536@kodo2 \
    --to=george.dunlap@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).