September 2016
Intermediate to advanced
989 pages
24h 10m
English
GNU make is a make implementation for Linux systems. It is used by a wide variety of open source projects, including the Linux kernel. The build is managed by a Makefile, which tells make how to build the source code.
Yocto recipes inherit base.bbclass and hence their default behavior is to look for a Makefile, makefile, or GNU Makefile 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 logrotate recipe ...
Read now
Unlock full access