[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdm3hTJWKequrVXgOouA8a6wNQLaz9WHcFitOUi4HjZ51A@mail.gmail.com>
Date: Fri, 9 Dec 2022 10:19:30 -0800
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Ian Rogers <irogers@...gle.com>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Nathan Chancellor <nathan@...nel.org>,
Tom Rix <trix@...hat.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
Stephane Eranian <eranian@...gle.com>,
Andrii Nakryiko <andrii@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH v2 2/4] objtool: Install libsubcmd in build
On Mon, Nov 21, 2022 at 4:11 PM Ian Rogers <irogers@...gle.com> wrote:
>
> +ifneq ($(OUTPUT),)
> + LIBSUBCMD_OUTPUT = $(abspath $(OUTPUT))/libsubcmd
> +else
> + LIBSUBCMD_OUTPUT = $(CURDIR)/libsubcmd
> +endif
Seeing an else clause when the predicate is negated makes this read as:
if !foo:
baz()
else:
bar()
Consider using:
if foo:
bar()
else
baz()
in the future.
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists