Creating a yocto recipe using recipetool script

$ recipetool -d create -o
DEBUG: Found bitbake path: ~/Desktop/devlab/poky/bitbake
NOTE: Fetching…
DEBUG: unable to extract library name from
NOTE: Recipe 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

# 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/;md5=ccd97ae8f30a4a79d6538bc6cc43030d \

SRC_URI = “${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:

Android Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question