OSDN Git Service

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)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 12 May 2020 04:28:33 +0000 (13:28 +0900)
commit081b4b54ff6c58be2ffcf09d42e5df8f031eacd0
tree5332fc769ca6c04bd6a53527458e849e3c34d967
parentdc960bfeedb01cf832c5632ed1f3daed4416b142
unicore32: do not evaluate compiler's library path when cleaning

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>
arch/unicore32/lib/Makefile