mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 08:30:50 +09:00
kmake: include DTB section into u-boot.bin if CONFIG_OF_EMBED enabled
Fixes a bug when objcopy doesn't put .dtb.init.rodata section to resulting u-boot.bin, so u-boot was unable to find embedded DTB.
This commit is contained in:
parent
2835d993e1
commit
072b2d8872
@ -116,6 +116,10 @@ else
|
|||||||
OBJCOPYFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn
|
OBJCOPYFLAGS += -j .text -j .rodata -j .hash -j .data -j .got.plt -j .u_boot_list -j .rel.dyn
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_OF_EMBED
|
||||||
|
OBJCOPYFLAGS += -j .dtb.init.rodata
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_IMX_CONFIG),)
|
ifneq ($(CONFIG_IMX_CONFIG),)
|
||||||
ifdef CONFIG_SPL
|
ifdef CONFIG_SPL
|
||||||
ifndef CONFIG_SPL_BUILD
|
ifndef CONFIG_SPL_BUILD
|
||||||
|
Loading…
Reference in New Issue
Block a user