Create yocto recipe using recipetool script

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

https://dropbear.nl/mirror/dropbear-2015.68.tar.bz2
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 \
file://libtomcrypt/LICENSE;md5=6c4fa89d7c9f2c00b6507ef96934ed6a”

Related :   Use local mirror to build yocto file system from internal server

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:
EXTRA_OECONF = “”


lynxbee_ezoic

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )

   


Leave a Comment

Android Android Applications Android Build system Android Commands Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded