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

Bin Meng bmeng.cn at gmail.com
Thu Oct 21 01:08:59 PDT 2021


On Thu, Oct 21, 2021 at 12:07 PM Anup Patel <anup at brainfault.org> wrote:
>
> On Wed, Oct 20, 2021 at 3:14 PM Anup Patel <anup.patel at wdc.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: Using `BUILD_INFO=y` without specifying SOURCE_DATE_EPOCH 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>
> > Reviewed-by: Anup Patel <anup.patel at wdc.com>
> > Reviewed-by: Alistair Francis <alistair.francis at wdc.com>
>
> Applied this patch to the riscv/opensbi repo
>

Please cc people who gave comments to previous versions, and wait for
a day or two before the applying.

Regards,
Bin



More information about the opensbi mailing list