diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
| commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
| tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/baremetal-image.bbclass | |
| parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
| download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz | |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/baremetal-image.bbclass')
| -rw-r--r-- | meta/classes/baremetal-image.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/baremetal-image.bbclass b/meta/classes/baremetal-image.bbclass index 8708a54301..9ec3f1460b 100644 --- a/meta/classes/baremetal-image.bbclass +++ b/meta/classes/baremetal-image.bbclass | |||
| @@ -12,8 +12,8 @@ | |||
| 12 | 12 | ||
| 13 | # Toolchain should be baremetal or newlib based. | 13 | # Toolchain should be baremetal or newlib based. |
| 14 | # TCLIBC="baremetal" or TCLIBC="newlib" | 14 | # TCLIBC="baremetal" or TCLIBC="newlib" |
| 15 | COMPATIBLE_HOST_libc-musl_class-target = "null" | 15 | COMPATIBLE_HOST:libc-musl:class-target = "null" |
| 16 | COMPATIBLE_HOST_libc-glibc_class-target = "null" | 16 | COMPATIBLE_HOST:libc-glibc:class-target = "null" |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | inherit rootfs-postcommands | 19 | inherit rootfs-postcommands |
| @@ -61,7 +61,7 @@ python do_rootfs(){ | |||
| 61 | # Assure binaries, manifest and qemubootconf are populated on DEPLOY_DIR_IMAGE | 61 | # Assure binaries, manifest and qemubootconf are populated on DEPLOY_DIR_IMAGE |
| 62 | do_image_complete[dirs] = "${TOPDIR}" | 62 | do_image_complete[dirs] = "${TOPDIR}" |
| 63 | SSTATETASKS += "do_image_complete" | 63 | SSTATETASKS += "do_image_complete" |
| 64 | SSTATE_SKIP_CREATION_task-image-complete = '1' | 64 | SSTATE_SKIP_CREATION:task-image-complete = '1' |
| 65 | do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" | 65 | do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" |
| 66 | do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" | 66 | do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" |
| 67 | do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}" | 67 | do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}" |
| @@ -77,18 +77,18 @@ QB_DEFAULT_KERNEL ?= "${IMAGE_LINK_NAME}.bin" | |||
| 77 | QB_MEM ?= "-m 256" | 77 | QB_MEM ?= "-m 256" |
| 78 | QB_DEFAULT_FSTYPE ?= "bin" | 78 | QB_DEFAULT_FSTYPE ?= "bin" |
| 79 | QB_DTB ?= "" | 79 | QB_DTB ?= "" |
| 80 | QB_OPT_APPEND_append = " -nographic" | 80 | QB_OPT_APPEND:append = " -nographic" |
| 81 | 81 | ||
| 82 | # RISC-V tunes set the BIOS, unset, and instruct QEMU to | 82 | # RISC-V tunes set the BIOS, unset, and instruct QEMU to |
| 83 | # ignore the BIOS and boot from -kernel | 83 | # ignore the BIOS and boot from -kernel |
| 84 | QB_DEFAULT_BIOS_qemuriscv64 = "" | 84 | QB_DEFAULT_BIOS:qemuriscv64 = "" |
| 85 | QB_OPT_APPEND_append_qemuriscv64 = " -bios none" | 85 | QB_OPT_APPEND:append:qemuriscv64 = " -bios none" |
| 86 | 86 | ||
| 87 | 87 | ||
| 88 | # Use the medium-any code model for the RISC-V 64 bit implementation, | 88 | # Use the medium-any code model for the RISC-V 64 bit implementation, |
| 89 | # since medlow can only access addresses below 0x80000000 and RAM | 89 | # since medlow can only access addresses below 0x80000000 and RAM |
| 90 | # starts at 0x80000000 on RISC-V 64 | 90 | # starts at 0x80000000 on RISC-V 64 |
| 91 | CFLAGS_append_qemuriscv64 = " -mcmodel=medany" | 91 | CFLAGS:append:qemuriscv64 = " -mcmodel=medany" |
| 92 | 92 | ||
| 93 | 93 | ||
| 94 | # This next part is necessary to trick the build system into thinking | 94 | # This next part is necessary to trick the build system into thinking |
