[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] build: Don't remove user-supplied xen-version during make clean



# HG changeset patch
# User George Dunlap <george.dunlap@xxxxxxxxxxxxx>
# Date 1331106182 0
# Node ID 9b152ebe9843c41b45953be7778c51d0e788594e
# Parent  0f51f175fb5757cca6cb319ef3709c2ffbd26280
build: Don't remove user-supplied xen-version during make clean

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@xxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 0f51f175fb57 -r 9b152ebe9843 xen/Makefile
--- a/xen/Makefile      Wed Mar 07 07:42:09 2012 +0000
+++ b/xen/Makefile      Wed Mar 07 07:43:02 2012 +0000
@@ -61,7 +61,7 @@
        $(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*
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.