Skip to content

attrflags is not expanded #15

@YehorRaketskyi

Description

@YehorRaketskyi

If "attrflags" contains some environment variable, result.bif file will contain something like
"[destination_cpu=a53-0, offset=${DTB_OFFSET}] /mnt/ext/bla/blabla/build/tmp/deploy/images/blablabla/blablabla-system.dtb " instead of
"[destination_cpu=a53-0, offset=0x1c80000] /mnt/ext/bla/blabla/build/tmp/deploy/images/blablabla/blablabla-system.dtb "

To prevent it, attrflags should be expanded.

cfgval = attrflags[cfg].split(',')

Change to
cfgval = d.expand(attrflags[cfg]).split(',')

cfgval = attrflags[cfg].split(',')

Change to
cfgval = d.expand(attrflags[cfg]).split(',')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions