This repo was created to build a CMake based layer for Yocto
This is a work in progress recipe to build the C sshnpd daemon for Yocto.
As our CMake builds presently use FetchContent to pull down dependencies the recipe is configured to allow network access at build time.
The recipe can be added to an image config with:
IMAGE_INSTALL:append = " csshnpd"
This has been tested using the scarthgap
branch (presently 5.0.2).
The build/conf/bblayers.conf
in poky
is:
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/chris/git/git.yoctoproject.org/poky/meta \
/home/chris/git/git.yoctoproject.org/poky/meta-poky \
/home/chris/git/git.yoctoproject.org/poky/meta-yocto-bsp \
/home/chris/git/github/atsign-foundation/meta-atsign \
"
In build/conf/local.conf
:
IMAGE_INSTALL:append = " csshnpd"
First source the poky build environment:
. oe-init-build-env
The build is done with:
bitbake core-image-sato
Created by @cpswan