e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
Index: xen-4.4.0-testing/xen/Makefile
|
|
===================================================================
|
|
--- xen-4.4.0-testing.orig/xen/Makefile
|
|
+++ xen-4.4.0-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 = 4
|
|
@@ -122,7 +123,7 @@ delete-unfresh-files:
|
|
@mv -f $@.tmp $@
|
|
|
|
# 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@@/$(XEN_WHOAMI)/g' \
|
|
@@ -132,9 +133,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 tools/scmversion $(XEN_ROOT) || echo "unavailable")!g' \
|
|
+ -e 's!@@changeset@@!$(XEN_CHANGESET)!g' \
|
|
< include/xen/compile.h.in > $@.new
|
|
- @cat .banner
|
|
+ @echo "Xen $(XEN_FULLVERSION)" > .banner
|
|
@$(PYTHON) tools/fig-to-oct.py < .banner >> $@.new
|
|
@mv -f $@.new $@
|
|
|