All recipes inherit the base.bbclass class, which in turn inherits the patch.bbclass and staging.bbclass, and together define the following tasks:
- do_build: This is the default task that by default just executes all the rest.
- do_fetch: This method fetches the source code, selecting the fetcher using the SRC_URI variable. Archive formats are downloaded into DL_DIR while Git formats are cloned into DL_DIR/git2 and tarballed into DL_DIR.
- do_unpack: This method creates the WORKDIR at TMPDIR/work/<arch>/<PN>/<PV>, and unpacks the code in the working directory to a location specified by the S variable, which is WORKDIR/<PN>-<PV> by default.
- do_patch: This method applies any specified patch using quilt over the unpacked ...