diff options
author | Simon Glass <sjg@chromium.org> | 2011-06-21 08:48:56 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:34 -0700 |
commit | ea1e225fb9a6a0dbd5a810a1de711e308bc4b175 (patch) | |
tree | fd243feeb7f82456470ca7a190faec7529aeefe7 /config.mk | |
parent | d82bf0abd79b65282349663f45e2f602cd70dd52 (diff) |
fdt: Add DEV_TREE_SEPARATE to provide an fdt separate from image
This adds support for an FDT to be concatenated to the u-boot-bin binary.
This is located at run-time by U-Boot.
BUG=chromium-os:11623
TEST=Either emerge with http://gerrit.chromium.org/gerrit/2961
or build manually:
make ... DEV_TREE_SEPARATE=true
and check that u-boot.dtb is built.
Change-Id: I7c8b1315d721bc957ef3fd07f167d86345868036
Reviewed-on: http://gerrit.chromium.org/gerrit/2962
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -188,6 +188,10 @@ ifdef VBOOT CPPFLAGS += -I$(VBOOT)/include/vboot endif +ifdef DEV_TREE_SEPARATE +CPPFLAGS += -DCONFIG_OF_SEPARATE +endif + CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) |