diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-10-16 14:12:15 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-05 16:43:47 +0100 |
commit | 2e54f93a3b9b4575c42aa6a1a1cbba40a890f688 (patch) | |
tree | 65a93e8446b0c95864b08d281b381cbf0ad92a1b | |
parent | ecd77a3261ab58bb07bc00cf3ca57f052764be5b (diff) | |
download | linux-stable-2e54f93a3b9b4575c42aa6a1a1cbba40a890f688.tar.gz linux-stable-2e54f93a3b9b4575c42aa6a1a1cbba40a890f688.tar.bz2 linux-stable-2e54f93a3b9b4575c42aa6a1a1cbba40a890f688.zip |
kbuild: remove unneeded variable, single-all
commit 35e046a203ee3bc8ba9ae3561b50de02646dfb81 upstream.
When single-build is set, everything in $(MAKECMDGOALS) is a single
target. You can use $(MAKECMDGOALS) to list out the single targets.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1761,11 +1761,9 @@ tools/%: FORCE ifdef single-build -single-all := $(filter $(single-targets), $(MAKECMDGOALS)) - # .ko is special because modpost is needed -single-ko := $(sort $(filter %.ko, $(single-all))) -single-no-ko := $(sort $(patsubst %.ko,%.mod, $(single-all))) +single-ko := $(sort $(filter %.ko, $(MAKECMDGOALS))) +single-no-ko := $(sort $(patsubst %.ko,%.mod, $(MAKECMDGOALS))) $(single-ko): single_modpost @: |