[DTrace-devel] [PATCH 1/4] config: surpress output from check-bpfc-option-rule

Elena Zannoni elena.zannoni at oracle.com
Sat May 25 01:00:43 UTC 2024


Reviewed-by: Elena Zannoni <elena.zannoni at oracle.com>

On 5/24/24 17:57, Kris Van Hees wrote:
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
>  Makeconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makeconfig b/Makeconfig
> index 7249125e..87a601c8 100644
> --- a/Makeconfig
> +++ b/Makeconfig
> @@ -177,7 +177,7 @@ $(objdir)/.config/config.$(1).h $(objdir)/.config/config.$(1).mk: $(objdir)/.con
>  	     echo 'HAVE_$(1)=y' > $(objdir)/.config/config.$(1).mk;; \
>  	xno) echo '/* #undef HAVE_$(1) */' > $(objdir)/.config/config.$(1).h; \
>  	     echo '# HAVE_$(1) undefined' > $(objdir)/.config/config.$(1).mk;; \
> -	*) if $(BPFC) --help $(2) 2>&1 >/dev/null | grep error; then \
> +	*) if $(BPFC) --help $(2) 2>&1 >/dev/null | grep -q error; then \
>  	       echo '/* #undef HAVE_$(1) */' > $(objdir)/.config/config.$(1).h; \
>  	       echo '# HAVE_$(1) undefined' > $(objdir)/.config/config.$(1).mk; \
>  	   else \




More information about the DTrace-devel mailing list