January 2018
Intermediate to advanced
456 pages
12h 49m
English
Yocto recipes inherit base.bbclass and hence their default behavior is to look for a Makefile, makefile, or GNUmakefile and use GNU make to build the package. If your package already contains a Makefile, then all you need to worry about are the arguments that need to be passed to make. make arguments can be passed using the EXTRA_OEMAKE variable, and a do_install override that calls the oe_runmake install needs to be provided, otherwise an empty install is run. For example, the mingetty recipe is based on a Makefile and looks as follows:
SUMMARY = "Compact getty terminal handler for virtual consoles only"
SECTION = "console/utils"
HOMEPAGE = "http://sourceforge.net/projects/mingetty/"
LICENSE = "GPLv2"
PR = "r3"
LIC_FILES_CHKSUM ...Read now
Unlock full access