diff options
| author | Simon Glass <sjg@chromium.org> | 2014-02-26 15:59:14 -0700 |
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2014-03-04 12:15:28 -0500 |
| commit | 714a5621c2df0b1cfce525b9add071fc9bfd726b (patch) | |
| tree | 74046d9f8bc03378d7d4daf67df27189b7df705b /Makefile | |
| parent | 1ace4022394eacbdae12e7275c445699f8ad4833 (diff) | |
| download | olio-uboot-2014.01-714a5621c2df0b1cfce525b9add071fc9bfd726b.tar.xz olio-uboot-2014.01-714a5621c2df0b1cfce525b9add071fc9bfd726b.zip | |
sandbox: Build a device tree file for sandbox
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE
option to make it easier to use device tree with sandbox.
This adjusts the Makefile to build a u-boot.dtb file which can be passed
to sandbox U-Boot with:
./u-boot -d u-boot.dtb
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -708,6 +708,7 @@ ALL-$(CONFIG_SPL) += spl/u-boot-spl.bin ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb u-boot-dtb.bin +ALL-$(CONFIG_OF_HOSTFILE) += u-boot.dtb ifneq ($(CONFIG_SPL_TARGET),) ALL-$(CONFIG_SPL) += $(CONFIG_SPL_TARGET:"%"=%) endif |