[PATCH V3] Makefile: Add build time and compiler info string.

Fu Wei tekkamanninja at gmail.com
Wed Sep 29 21:21:26 PDT 2021


Hi Bin,

Bin Meng <bmeng.cn at gmail.com> 于2021年9月30日周四 上午9:09写道:
>
> On Thu, Sep 30, 2021 at 2:06 AM <tekkamanninja at gmail.com> wrote:
> >
> > From: Wei Fu <wefu at redhat.com>
> >
> > When we are doing opensbi development, we want to know the build time
> > and compiler info for debug purpose.
> > To enable this message, please add "BUILD_INFO=y" , like:
> >
> > ```
> > make BUILD_INFO=y
> > ```
> >
> > NOTE: `BUILD_INFO=y` will violate "reproducible builds".
> > So it's ONLY for development and debug purpose, and should NOT be used
> > in a product which follows "reproducible builds".
> >
> > Signed-off-by: Wei Fu <wefu at redhat.com>
> > ---
> >  Makefile           | 22 ++++++++++++++++++++++
> >  README.md          | 23 +++++++++++++++++++++++
> >  lib/sbi/sbi_init.c |  8 ++++++++
> >  3 files changed, 53 insertions(+)
> >
>
> It looks my comments to v1 still remains unchanged

Thanks for reminding me, will fix it :-)

>
> Regards,
> Bin



More information about the opensbi mailing list