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)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 12 May 2020 04:28:32 +0000 (13:28 +0900)
commit7e49afc03212010d0ee27532a75cfeb0125bd868
treeba6401555bd7d4592898d5ffb3216b1658ed40dd
parent2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
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]
arch/um/drivers/Makefile