[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kV90EjHGitEVO4GQFYtQJZ_3-1rkXJnOwez7u7Ph+Z3g@mail.gmail.com>
Date: Mon, 2 Sep 2024 18:12:52 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev
Subject: Re: [PATCH v2] kbuild: pahole-version: improve overall checking and
error messages
On Mon, Sep 2, 2024 at 6:09 PM Miguel Ojeda <ojeda@...nel.org> wrote:
>
> +if ! command -v "$@" >/dev/null; then
> + echo >&2 "***"
> + echo >&2 "*** pahole '$@' could not be found. pahole will not be used."
> + echo >&2 "***"
> + exit 1
> +fi
We may not want to print a warning in this case if this case/setup is
too common, though.
Cheers,
Miguel
Powered by blists - more mailing lists