aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile
diff options
context:
space:
mode:
authorsmh22@boulderdash.cl.cam.ac.uk <smh22@boulderdash.cl.cam.ac.uk>2002-11-20 12:02:17 +0000
committersmh22@boulderdash.cl.cam.ac.uk <smh22@boulderdash.cl.cam.ac.uk>2002-11-20 12:02:17 +0000
commit4676bbf96dc88e9a70607fa79b3c83febc5dc54b (patch)
treeea469343cb62cad40367c2ec3fec038405649a5c /xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile
parent19e522da85965a058fe60ab74270dc6cdfc4e0b9 (diff)
downloadxen-4676bbf96dc88e9a70607fa79b3c83febc5dc54b.tar.gz
xen-4676bbf96dc88e9a70607fa79b3c83febc5dc54b.tar.bz2
xen-4676bbf96dc88e9a70607fa79b3c83febc5dc54b.zip
bitkeeper revision 1.2 (3ddb79c9KusG02eh7i-uXkgY0IksKA)
Import changeset
Diffstat (limited to 'xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile')
-rw-r--r--xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile b/xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile
new file mode 100644
index 0000000000..252daf50bf
--- /dev/null
+++ b/xenolinux-2.4.16-sparse/arch/xeno/boot/Makefile
@@ -0,0 +1,22 @@
+#
+# arch/xeno/boot/Makefile
+#
+
+image.gz: image
+ gzip -f -9 < $< > $@
+
+image: $(TOPDIR)/vmlinux
+ # Guest OS header -- first 8 bytes are identifier 'XenoGues'.
+ echo -e -n 'XenoGues' >$@
+ # Guest OS header -- next 4 bytes are load address (0xC0000000).
+ echo -e -n '\000\000\000\300' >>$@
+ $(OBJCOPY) $< image.body
+ # Guest OS header is immediately followed by raw OS image.
+ # Start address must be at byte 0.
+ cat image.body >>$@
+ rm -f image.body
+
+dep:
+
+clean:
+ rm -f image image.gz