summaryrefslogtreecommitdiffstats
path: root/meta/classes/baremetal-image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/baremetal-image.bbclass
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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.bbclass14
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"
15COMPATIBLE_HOST_libc-musl_class-target = "null" 15COMPATIBLE_HOST:libc-musl:class-target = "null"
16COMPATIBLE_HOST_libc-glibc_class-target = "null" 16COMPATIBLE_HOST:libc-glibc:class-target = "null"
17 17
18 18
19inherit rootfs-postcommands 19inherit 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
62do_image_complete[dirs] = "${TOPDIR}" 62do_image_complete[dirs] = "${TOPDIR}"
63SSTATETASKS += "do_image_complete" 63SSTATETASKS += "do_image_complete"
64SSTATE_SKIP_CREATION_task-image-complete = '1' 64SSTATE_SKIP_CREATION:task-image-complete = '1'
65do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" 65do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}"
66do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" 66do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
67do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}" 67do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}"
@@ -77,18 +77,18 @@ QB_DEFAULT_KERNEL ?= "${IMAGE_LINK_NAME}.bin"
77QB_MEM ?= "-m 256" 77QB_MEM ?= "-m 256"
78QB_DEFAULT_FSTYPE ?= "bin" 78QB_DEFAULT_FSTYPE ?= "bin"
79QB_DTB ?= "" 79QB_DTB ?= ""
80QB_OPT_APPEND_append = " -nographic" 80QB_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
84QB_DEFAULT_BIOS_qemuriscv64 = "" 84QB_DEFAULT_BIOS:qemuriscv64 = ""
85QB_OPT_APPEND_append_qemuriscv64 = " -bios none" 85QB_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
91CFLAGS_append_qemuriscv64 = " -mcmodel=medany" 91CFLAGS: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