[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171130233827.130069-1-samitolvanen@google.com>
Date: Thu, 30 Nov 2017 15:38:25 -0800
From: Sami Tolvanen <samitolvanen@...gle.com>
To: Alex Matveev <alxmtvv@...il.com>, Andi Kleen <ak@...ux.intel.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Greg Hackmann <ghackmann@...gle.com>,
Kees Cook <keescook@...omium.org>,
linux-arm-kernel@...ts.infradead.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Maxim Kuvyrkov <maxim.kuvyrkov@...aro.org>,
Michal Marek <michal.lkml@...kovi.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Yury Norov <ynorov@...iumnetworks.com>,
Matthias Kaehlcke <mka@...omium.org>,
Nicholas Piggin <npiggin@...il.com>
Cc: Sami Tolvanen <samitolvanen@...gle.com>
Subject: [PATCH v2 0/2] Add version macros for clang
This patch set adds macros for checking clang version.
Changes from v1:
- fixed a comment in clang-version.sh
- renamed macros to __cc-ifversion and __cc-if-fullversion
- fixed a bug with non-bash shells
- dropped the arm64 patch as unnecessary
Sami Tolvanen (2):
kbuild: add clang-version.sh
kbuild: add __cc-ifversion and compiler-specific variants
scripts/Kbuild.include | 41 ++++++++++++++++++++++++++++++++++-------
scripts/clang-version.sh | 33 +++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+), 7 deletions(-)
create mode 100755 scripts/clang-version.sh
--
2.15.0.531.g2ccb3012c9-goog
Powered by blists - more mailing lists