diff options
author | Mark A. Greer <mgreer@mvista.com> | 2007-05-12 04:53:36 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-12 05:32:49 +0400 |
commit | 916066d5913c37a6b3907eb6695cc9ecaaa4d8ca (patch) | |
tree | d966b9217ebb21bde240182ae40b3234caf4df64 /Documentation/nbd.txt | |
parent | a8de5ce9895367191df9b30804a0c67cfcc9f27a (diff) | |
download | linux-916066d5913c37a6b3907eb6695cc9ecaaa4d8ca.tar.xz |
[POWERPC] Add Makefile rules to wrap dts file in zImage
Add 'zImage.dts' and 'zImage.dts_initrd' build rules that automatically
compile and wrap a dts file from arch/powerpc/boot/dts into the zImage file.
The resulting zImage will be arch/powerpc/boot/zImage.dts.<platform> and
arch/powerpc/boot/zImage.dts_initrd.<platform>, respectively.
Having separate rules allows the user to choose whether to include a device
tree--and which device tree--at build time. This is useful when one Makefile
target builds a zImage that runs on several platforms except for differing
device trees. By just setting CONFIG_DEVICE_TREE and running "make zImage.dts"
the exact zImage you want is built without Makefile bloat or manually running
the wrapper script.
The dts file is expected to be arch/powerpc/boot/dts/$(CONFIG_DEVICE_TREE)
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Documentation/nbd.txt')
0 files changed, 0 insertions, 0 deletions