Tony Breeds b81f18e55e powerpc/boot: Only build board support files when required.
Currently we build all board files regardless of the final zImage
target.  This is sub-optimal (in terms on compilation) and leads to
problems in one platform needlessly causing failures for other
platforms.

Use the Kconfig variables to selectively construct this board files to
build.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-07-03 14:14:37 +10:00
..
2012-05-26 12:22:27 -07:00
2010-05-12 07:48:49 -04:00
2007-09-19 21:13:16 -05:00
2008-06-09 13:42:25 +10:00
2008-04-17 01:01:40 -05:00
2011-12-09 07:49:50 -05:00
2009-12-12 22:24:26 -07:00
2008-04-01 20:43:07 +11:00
2007-09-14 01:33:23 +10:00
2007-09-14 01:33:23 +10:00
2009-12-12 22:24:29 -07:00

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter