Home » Development and Build » Yocto Embedded Linux » Create yocto recipe using recipetool script

Create yocto recipe using recipetool script

$ recipetool -d create -o dropbear_2015.68.bb

DEBUG: Found bitbake path: ~/Desktop/devlab/poky/bitbake
NOTE: Fetching https://dropbear.nl/mirror/dropbear-2015.68.tar.bz2…
DEBUG: unable to extract library name from ld-linux.so.3
NOTE: Recipe dropbear_2015.68.bb has been created; further editing may be required to make it fully functional.


Now, if we open a newly automatically created recipe, it will be something like below & you can then customise it as per your requirement,

$ vim dropbear_2015.68.bb

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses – it is
# your responsibility to verify that the values are complete and correct.
# NOTE: multiple licenses have been detected; if that is correct you should separate
# these in the LICENSE value using & if the multiple licenses all apply, or | if there
# is a choice between the multiple licenses. If in doubt, check the accompanying
# documentation to determine which situation is applicable.
LICENSE = “Unknown”
LIC_FILES_CHKSUM = “file://LICENSE;md5=a5ec40cafba26fc4396d0b550f824e01 \
file://libtommath/LICENSE;md5=4f6fbdd737299a6d5dac1428f38422c8 \
file://debian/copyright.in;md5=ccd97ae8f30a4a79d6538bc6cc43030d \

SRC_URI = “https://dropbear.nl/mirror/dropbear-${PV}.tar.bz2”
SRC_URI[md5sum] = “7664ac10f7cc2301c530eb80c756fc5d”
SRC_URI[sha256sum] = “55ea7c1e904ffe4b1cdbe1addca8291a2533d7d285fd22ac33608e9502a62446”

# NOTE: the following library dependencies are unknown, ignoring: socket pam tommath tomcrypt tommath tomcrypt
#       (this is based on recipes that have previously been built and packaged)
DEPENDS = “zlib”
# NOTE: if this software is not capable of being built in a separate build directory
# from the source, you should replace autotools with autotools-brokensep in the
# inherit line
inherit autotools

# Specify any options you want to pass to the configure script using EXTRA_OECONF:

Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment