um: Do not evaluate compiler's library path when cleaning
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 17 Apr 2020 18:04:55 +0000 (03:04 +0900)
committerRichard Weinberger <richard@nod.at>
Tue, 2 Jun 2020 20:37:41 +0000 (22:37 +0200)
commit0b86ce29cfc273501d019b18f31cee7837c8fd2a
treed3e338f1772d864ea985d412063ecb9790e43426
parent4c5a770580054c1d107ba204a42df1db221670bd
um: Do not evaluate compiler's library path when cleaning

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

  $ make ARCH=um clean
  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
LDFLAGS_pcap.o or LDFLAGS_vde.o when cleaning.

While I was here, I removed the redundant -r option because it
already exists in the recipe.

Fixes: a83e4ca26af8 ("kbuild: remove cc-option switch from -Wframe-larger-than=")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> [build]
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/Makefile