9
0
Fork 0

ARM: build dtbs depending on CONFIG_OFTREE

The upcoming multi image support will need devicetree binary
blobs even when there is no builtin dtb. Instead of depending
on CONFIG_BUILTIN_DTB depend on CONFIG_OFTREE and let this option
select DTC.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-06-21 23:48:25 +02:00
parent cde9fcb8cb
commit 22159db6b0
2 changed files with 2 additions and 1 deletions

View File

@ -328,7 +328,7 @@ endif
common-y += $(BOARD) $(MACH)
common-y += arch/arm/lib/ arch/arm/cpu/
common-$(CONFIG_BUILTIN_DTB) += arch/arm/dts/
common-$(CONFIG_OFTREE) += arch/arm/dts/
lds-y := arch/arm/lib/barebox.lds

View File

@ -1,4 +1,5 @@
config OFTREE
select DTC
bool
config OFTREE_MEM_GENERIC