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

[Xen-devel] [PATCH] Fix compile error about compile.h



Hi,

In Xen 3.2.1-rc7, compile error has occurred as follows.

In file included from version.c:1:
/xxx/xen-3.2-testing.hg/xen/include/xen/compile.h:13:21: error:
backslash-newline at end of file
make[4]: *** [version.o] Error 1

This error happens according to XEN_FULLVERSION in xen/Makefile.

Attached patch fixes this error.

Signed-off-by: Naoki Nishiguchi <nisiguti@xxxxxxxxxxxxxx>

Thanks,
Naoki Nishiguchi
diff -r 2ebb7f79e3bb xen/Makefile
--- a/xen/Makefile      Tue Apr 22 19:07:48 2008 +0100
+++ b/xen/Makefile      Wed Apr 23 15:50:59 2008 +0900
@@ -91,6 +91,7 @@ include/xen/compile.h: include/xen/compi
            -e 's!@@changeset@@!$(shell ((hg parents --template "{date|date} 
{rev}:{node|short}" >/dev/null && hg parents --template "{date|date} 
{rev}:{node|short}") || echo "unavailable") 2>/dev/null)!g' \
            < include/xen/compile.h.in > $@.new
        @grep \" .banner >> $@.new
+       @echo "" >> $@.new
        @grep -v \" .banner
        @mv -f $@.new $@
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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