Re: How to write custom recipe to install AWS C SDK from github #yocto #linux #dunfell


Ross Burton
 

I suggest looking at meta-aws (https://github.com/aws/meta-aws) to see
if that has a recipe already, and if it doesn't use one of the recipes
there as a starting point.

Ross

On Wed, 2 Dec 2020 at 10:02, <vijayrakeshmunganda@gmail.com> wrote:

Hi,

I'm trying to write a recipe to install AWS SDK into the build(https://github.com/aws/aws-iot-device-sdk-embedded-C), but I complete don't know how to do it. Based on online example https://github.com/joaocfernandes/Learn-Yocto/blob/master/develop/Recipe-CMake.md I have written my recipe file and download the sdk into files folder of my recipe. When I run build do_configure got failed.

SUMMARY = "AWS IoT SDK EMBEDDED C"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "file://CMakeLists.txt"

S = "${WORKDIR}"

inherit cmake

EXTRA_OECMAKE = ""

I know it is wrong, but kindly please someone help to write it correctly, thank you.

Thanks & Regards,
VR

Join yocto@lists.yoctoproject.org to automatically receive all group messages.