<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I just merge PR, which brings REQUIRED_PACKAGES feature from userland-gate. This allows specifying and installing build time dependencies. It introduces following targets:</div><div class=""><br class=""></div><div class=""><b class="">gmake REQUIRED_PACKAGES</b> - this target will modify component Makefile, so it contains autogenerated REQUIRED_PACKAGES. REQUIRED_PACKAGES is not 100% and manual check has to be done in some cases. I was trying to compile openvpn, but didn’t have tun.h from driver/network/header-tun, so I had to add it manually, e.g.:</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>REQUIRED_PACKAGES += driver/network/header-tun</div><div class=""><br class=""></div><div class=""><b class="">gmake component-environment-check - </b>this target will output information about the workspace and check if required dependencies are installed. There is a shorter alias, <b class="">gmake env-check, </b>for user convenience.</div><div class=""><br class=""></div><div class=""><b class="">gmake component-environment-prep</b> - this target will install packages specified in REQUIRED_PACKAGES variable. Please, ensure that your user has a privilege to install packages. There is a shorter alias, <b class="">gmake env-prep, </b>for user convenience.</div><div class=""><br class=""></div><div class=""><b class="">gmake print-VAR</b> - this is very handy and serves for printing Makefile variables. </div><div class=""><br class=""></div><div class="">If ypu want to know more about, you should read docs/makefile-targets.txt, which documents all supported Makefile targets.</div><div class=""><br class=""></div><div class="">I’d like to ask that new contributions have REQUIRED_PACKAGES added as I plan to develop other targets for building components in clean environment and rebuilding dependent components.</div><div class=""> </div><div class="">Cheers,</div><div class="">Adam</div><div class=""><br class=""></div><div class=""><div class="">

</div>
<br class=""></div></body></html>