|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1 of 2] 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>
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*
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |