unicore32: do not evaluate compiler's library path when cleaning
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 25 Apr 2020 06:06:40 +0000 (15:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:44 +0000 (17:48 +0200)
commit3bb0e768e4808dffad02f8981aaa5cf8a0e65061
tree8cc6d515389a3743ed2f3f868efaa715e5051c8c
parentb2c8373c3cf1785a49b2cf0aa56f14e9bf4b7923
unicore32: do not evaluate compiler's library path when cleaning

[ Upstream commit 081b4b54ff6c58be2ffcf09d42e5df8f031eacd0 ]

Since commit a83e4ca26af8 ("kbuild: remove cc-option switch from
-Wframe-larger-than="), 'make ARCH=unicore32 clean' emits error
messages as follows:

  $ make ARCH=unicore32 clean
  gcc: error: missing argument to '-Wframe-larger-than='
  gcc: error: missing argument to '-Wframe-larger-than='

We do not care compiler flags when cleaning.

Use the '=' operator for lazy expansion because we do not use
GNU_LIBC_A or GNU_LIBGCC_A when cleaning.

Fixes: a83e4ca26af8 ("kbuild: remove cc-option switch from -Wframe-larger-than=")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/unicore32/lib/Makefile