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


Quentin Schulz
 

Hi VR,

On Wed, Dec 02, 2020 at 02:02:39AM -0800, 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.
If you don't give us the log, we won't be able to help you.

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"
Where is the sdk? You need to add it into your SRC_URI (you can also
just pass a URL to a git repo or tarball download link).

Quentin

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