This commit is contained in:
committed by
Git OBS Bridge
parent
750b94deb2
commit
9730d95e0c
@@ -1,18 +1,31 @@
|
||||
Index: xen-3.2-testing/xen/Makefile
|
||||
Index: xen-3.2.1-testing/xen/Makefile
|
||||
===================================================================
|
||||
--- xen-3.2-testing.orig/xen/Makefile
|
||||
+++ xen-3.2-testing/xen/Makefile
|
||||
--- xen-3.2.1-testing.orig/xen/Makefile
|
||||
+++ xen-3.2.1-testing/xen/Makefile
|
||||
@@ -1,3 +1,4 @@
|
||||
+export XEN_CHANGESET = unavailable
|
||||
# This is the correct place to edit the build version.
|
||||
# All other places this is stored (eg. compile.h) should be autogenerated.
|
||||
export XEN_VERSION = 3
|
||||
@@ -99,7 +100,7 @@ include/xen/compile.h: include/xen/compi
|
||||
@@ -96,7 +97,7 @@ delete-unfresh-files:
|
||||
@rm -f $@1 $@2
|
||||
|
||||
# compile.h contains dynamic build info. Rebuilt on every 'make' invocation.
|
||||
-include/xen/compile.h: include/xen/compile.h.in .banner
|
||||
+include/xen/compile.h: include/xen/compile.h.in
|
||||
@sed -e 's/@@date@@/$(shell LC_ALL=C date)/g' \
|
||||
-e 's/@@time@@/$(shell LC_ALL=C date +%T)/g' \
|
||||
-e 's/@@whoami@@/$(USER)/g' \
|
||||
@@ -106,10 +107,9 @@ include/xen/compile.h: include/xen/compi
|
||||
-e 's/@@version@@/$(XEN_VERSION)/g' \
|
||||
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
|
||||
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
|
||||
- -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' \
|
||||
+ -e 's!@@changeset@@!$(XEN_CHANGESET)!g' \
|
||||
< include/xen/compile.h.in > $@.new
|
||||
tools/figlet/figlet -d tools/figlet Xen $(XEN_FULLVERSION) >> $@.new
|
||||
- @grep \" .banner >> $@.new
|
||||
- @grep -v \" .banner
|
||||
+ tools/figlet/figlet -d tools/figlet Xen $(XEN_FULLVERSION) >> $@.new
|
||||
@mv -f $@.new $@
|
||||
|
||||
include/asm-$(TARGET_ARCH)/asm-offsets.h: arch/$(TARGET_ARCH)/asm-offsets.s
|
||||
|
Reference in New Issue
Block a user