January 2018
Intermediate to advanced
456 pages
12h 49m
English
The Yocto build system contains classes with the required knowledge to build autotools packages. All your recipe needs to do is inherit the autotools class and configure the arguments to be passed to the configure script in the EXTRA_OECONF variable. Usually, the autotools system understands how to install the software, so you do not need a do_install override. There is a wide variety of open source projects that use autotools as the build system. An example, meta-custom/recipes-example/hello/hello_2.10.bb, which does not need any extra configure options, follows:
DESCRIPTION = "GNU helloworld autotools recipe"
SECTION = "examples"
LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" ...Read now
Unlock full access