]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b0708e1756e7ddf1d36cc6107a27087ef7c775b
treeba6401555bd7d4592898d5ffb3216b1658ed40dd
parent8277a1075deebb892db94bab2ce18ec8bfe66b8e
um: do not evaluate compiler's library path when cleaning

Since commit 3863c2e93d83 ("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: 3863c2e93d83 ("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