diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-08-06 17:16:53 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-11 00:56:33 +0300 |
commit | 12fc939cde971ea2094201e48fe095c41138f4aa (patch) | |
tree | 2fc49b7224d97fc0e43011cc3d9c85eaa933d0a9 /meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass | |
parent | 9b3d987c3c2facf75e1039766d31fbf31508fc19 (diff) | |
download | openbmc-12fc939cde971ea2094201e48fe095c41138f4aa.tar.xz |
meta-phosphor: prep for new override syntax
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
Diffstat (limited to 'meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass')
-rw-r--r-- | meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass b/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass index d9d179ee6..0909273b6 100644 --- a/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass +++ b/meta-phosphor/classes/image_types_phosphor_nuvoton.bbclass @@ -2,7 +2,7 @@ UBOOT_BINARY := "u-boot.${UBOOT_SUFFIX}" BOOTBLOCK = "Poleg_bootblock.bin" FULL_SUFFIX = "full" MERGED_SUFFIX = "merged" -UBOOT_SUFFIX_append = ".${MERGED_SUFFIX}" +UBOOT_SUFFIX:append = ".${MERGED_SUFFIX}" IGPS_DIR = "${STAGING_DIR_NATIVE}/${datadir}/npcm7xx-igps" @@ -30,14 +30,14 @@ do_prepare_bootloaders[depends] += " \ addtask do_prepare_bootloaders before do_generate_static after do_generate_rwfs_static # Include the full bootblock and u-boot in the final static image -python do_generate_static_append() { +python do_generate_static:append() { _append_image(os.path.join(d.getVar('DEPLOY_DIR_IMAGE', True), 'u-boot.%s' % d.getVar('UBOOT_SUFFIX',True)), int(d.getVar('FLASH_UBOOT_OFFSET', True)), int(d.getVar('FLASH_KERNEL_OFFSET', True))) } -do_make_ubi_append() { +do_make_ubi:append() { # Concatenate the uboot and ubi partitions dd bs=1k conv=notrunc seek=${FLASH_UBOOT_OFFSET} \ if=${DEPLOY_DIR_IMAGE}/u-boot.${UBOOT_SUFFIX} \ |