Re: [PATCH v2 6/8] Makefile: define OPENSBI_DEBUG if DEBUG builds

Anup Patel <[email protected]> Tue, 16 Jun 2026 13:49:34 +0530
Newsgroups org.infradead.lists.opensbi
Message-ID <CAK9=C2UHxBUmXv8G9rRwi_wX41dW1wEKrOtyjJvsQL6=h+EeQA@mail.gmail.com>
Generally good to have at least one sentence of commit description.
I will take care of it at the time of merging.

On Fri, Jun 5, 2026 at 5:04 PM Bo Gan <[email protected]> wrote:
>
> Signed-off-by: Bo Gan <[email protected]>

Reviewed-by: Anup Patel <[email protected]>

Thanks,
Anup

> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index 46541063..6ce3c11e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -451,6 +451,7 @@ DTSCPPFLAGS =       $(CPPFLAGS) -nostdinc -nostdlib -fno-builtin -D__DTS__ -x assemble
>
>  ifneq ($(DEBUG),)
>  CFLAGS         +=      -O0
> +CPPFLAGS       +=      -DOPENSBI_DEBUG
>  else
>  CFLAGS         +=      -O2
>  endif
> --
> 2.34.1
>
>
> --
> opensbi mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/opensbi

-- 
opensbi mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/opensbi