[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220507131146.834810-1-mailhol.vincent@wanadoo.fr>
Date: Sat, 7 May 2022 22:11:43 +0900
From: Vincent Mailhol <mailhol.vincent@...adoo.fr>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>
Cc: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Rikard Falkeborn <rikard.falkeborn@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Vincent Mailhol <mailhol.vincent@...adoo.fr>
Subject: [RFC PATCH v2 0/2] call check-atomics.sh only if prerequisites change
Currently, check-atomics.sh is executed unconditionally despite the
fact that most developers do not need this to execute this check on
each iterative make instance.
This series first make check-atomics.sh raise an error instead of a
warning when CONFIG_WERROR is set. The second and last patch modifies
Kbuild so that the script is only called when dependencies are
changed.
* Changelog *
v1 -> v2
* drop the changes on checksyscalls.sh. v1 assumed that
checksyscalls.sh would only be called from ./Kbuild. It appears
that there is another user: arch/mips/Makefile c.f. kernel test
robot's report:
https://lore.kernel.org/llvm/202205030015.JCmg5yPS-lkp@intel.com/
* add a patch to the to make Kbuild stop if check-atomics fails and
if CONFIG_WERROR is set.
Vincent Mailhol (2):
check-atomiscs: stop build if CONFIG_WERROR=y
kbuild: call check-atomics.sh only if prerequisites change
Kbuild | 7 ++++---
Makefile | 3 ++-
scripts/atomic/check-atomics.sh | 9 +++++++--
3 files changed, 13 insertions(+), 6 deletions(-)
--
2.35.1
Powered by blists - more mailing lists