x86, boot: Document intermediates more clearly
authorKees Cook <keescook@chromium.org>
Fri, 31 Oct 2014 16:22:04 +0000 (09:22 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 1 Nov 2014 21:46:02 +0000 (22:46 +0100)
This adds a comment detailing the various intermediate files used to build
the bootable decompression image for the x86 kernel.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Junjie Mao <eternal.n08@gmail.com>
Link: http://lkml.kernel.org/r/20141031162204.GA26268@www.outflux.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/compressed/Makefile

index 704f58aa79cd4853f91663512232a59b3441b4c8..8a3918180a9eb705a0539c3135d3a5e4a0d59d10 100644 (file)
@@ -3,6 +3,18 @@
 #
 # create a compressed vmlinux image from the original vmlinux
 #
+# vmlinuz is:
+#      decompression code (*.o)
+#      asm globals (piggy.S), including:
+#              vmlinux.bin.(gz|bz2|lzma|...)
+#
+# vmlinux.bin is:
+#      vmlinux stripped of debugging and comments
+# vmlinux.bin.all is:
+#      vmlinux.bin + vmlinux.relocs
+# vmlinux.bin.(gz|bz2|lzma|...) is:
+#      (see scripts/Makefile.lib size_append)
+#      compressed vmlinux.bin.all + u32 size of vmlinux.bin.all
 
 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
        vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4