diff options
author | Aneesh Bansal <aneesh.bansal@freescale.com> | 2015-12-23 14:16:23 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-08 10:15:43 -0500 |
commit | c2b233cbec4245e9c0b5f6e54275b771830328d6 (patch) | |
tree | cc13eeffcad496b2ca20d63d83068293d3ddf77b /Makefile | |
parent | 76765375d7aceab50ba7311612d8e5540cd7519f (diff) | |
download | u-boot-c2b233cbec4245e9c0b5f6e54275b771830328d6.tar.gz |
arm, Makefile: correct compilation flag for u-boot-dtb
The compilation of u-boot-dtb.img should be controlled by
CONFIG_OF_CONTROL and not CONFIG_DM.
CONFIG_DM may be defined even without Device Tree requirement.
This was added in commit 947cee1127c5fa97529c8cda4f0b48d141f92560.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
CC: Alison Wang <alison.wang@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1136,7 +1136,7 @@ spl/u-boot-spl.pbl: spl/u-boot-spl.bin FORCE $(call if_changed,mkimage) ifeq ($(ARCH),arm) -ifdef CONFIG_DM +ifdef CONFIG_OF_CONTROL UBOOT_BINLOAD := u-boot-dtb.img else UBOOT_BINLOAD := u-boot.img |