mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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 947cee1127
.
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>
This commit is contained in:
parent
76765375d7
commit
c2b233cbec
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue