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

Bin Meng bmeng.cn at gmail.com
Wed Sep 29 18:08:56 PDT 2021


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

Regards,
Bin



More information about the opensbi mailing list