tclibc-baremetal: Include qemu on the SDK
PATCH 1/2 tclibc-baremetal: Include qemu on the SDK
Since we now have an example recipe on meta-skeleton to build baremetal applications using OpenEmbedded, a user produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its built inside the baremetal based SDK.
--- meta/conf/distro/include/tclibc-baremetal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/tclibc-baremetal.inc +1 -1
@@ -27,7 +27,7 @@ BASEDEPENDS_remove_class-target = "virtual/${TARGET_PREFIX}compilerlibs" TARGET_OS = "elf" TARGET_OS_arm = "eabi" -TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" +TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu" TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= "" TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "virtual/${MLPREFIX}libc zlib ncurses"
Signature · 1 line
2.7.4
PATCH 2/2 tclibc-newlib: Include qemu on the SDK
Since we now have an example recipe on meta-skeleton to build baremetal applications using OpenEmbedded, a user produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its built inside the newlib based SDK.
--- meta/conf/distro/include/tclibc-newlib.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/tclibc-newlib.inc +1 -1
@@ -38,7 +38,7 @@ BASE_DEFAULT_DEPS_append_class-target = " ${NEWLIB_EXTENDED}" TARGET_OS = "elf" TARGET_OS_arm = "eabi" -TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE}" +TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu" TOOLCHAIN_TARGET_TASK ?= "${LIBC_DEPENDENCIES}" TOOLCHAIN_NEED_CONFIGSITE_CACHE_remove = "zlib ncurses"
Signature · 1 line
2.7.4