oebuild.sh has several commands. Some of them call functions in bin/build/oebuild.sh (or in one of the oeclasses, if the *.oe build file contains the "inherited ..." keyword). Here is a list of what command calls what shell function. The column "cd'd to this dir" specifies to which directory you have been cd'd into before the function get's called. oebuild cd'd to function in command this dir oebuild.sh task ------------------------------------------------------------------------ clean - - clean all, except downloaded files mrproper - - clean all, including downloaded files fetch fetch the sources do_nofetch() notify user on how fetch the sources unpack WORKDIR do_unpack() unpack sources, create source directory patch S do_patch() unpack and apply patches compile S do_compile() cross-compile stage S do_stage() copy headers and libraries install S do_install() create image ready to be packaged