x86-power-control

Vijay Khemka vijaykhemka at fb.com
Thu Oct 24 03:35:02 AEDT 2019


Thanks James, Bill and John.

From: Johnathan Mantey <johnathanx.mantey at intel.com>
Date: Tuesday, October 22, 2019 at 11:05 AM
To: James Feist <james.feist at linux.intel.com>, Vijay Khemka <vijaykhemka at fb.com>, "Bills, Jason M" <jason.m.bills at linux.intel.com>, "openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
Subject: Re: x86-power-control

You may want to delay the copy until the compile step.  For example:

PROJECT_SRC_DIR := "${THISDIR}/${PN}"
do_compile_prepend(){
    cp -f ${PROJECT_SRC_DIR}/your-header.hpp ${S}
}

Don't patch, simply copy over your new header into the correct directory in a do_configure_prepend (I think that's the right yocto step to overwrite, but I might be off). --
Johnathan Mantey
Senior Software Engineer
azad technology partners
Contributing to Technology Innovation since 1992
Phone: (503) 712-6764
Email: johnathanx.mantey at intel.com<mailto:johnathanx.mantey at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191023/5cfa9e0c/attachment-0001.htm>


More information about the openbmc mailing list