[oe-commits] [openembedded-core] 15/24: devicetree.bbclass: include symbols in base DT

git at git.openembedded.org git at git.openembedded.org
Thu Feb 13 23:42:49 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0c736030695ed3a63be09f3d3cd23029b46535c3
Author: Alex Kiernan <alex.kiernan at gmail.com>
AuthorDate: Wed Feb 12 10:35:26 2020 +0000

    devicetree.bbclass: include symbols in base DT
    
    When processing overlays, the base device tree must be compiled with
    symbols, otherwise attempting to apply overlays in U-Boot will fail
    with:
    
      failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
      base fdt does did not have a /__symbols__ node
      make sure you've compiled with -@
    
    Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/devicetree.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass
index d8779c7..c772ab2 100644
--- a/meta/classes/devicetree.bbclass
+++ b/meta/classes/devicetree.bbclass
@@ -59,7 +59,7 @@ DT_BOOT_CPU ??= "0"
 
 DTC_FLAGS ?= "-R ${DT_RESERVED_MAP} -b ${DT_BOOT_CPU}"
 DTC_PPFLAGS ?= "-nostdinc -undef -D__DTS__ -x assembler-with-cpp"
-DTC_BFLAGS ?= "-p ${DT_PADDING_SIZE}"
+DTC_BFLAGS ?= "-p ${DT_PADDING_SIZE} -@"
 DTC_OFLAGS ?= "-p 0 -@ -H epapr"
 
 python () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list