diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-10-16 14:12:15 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-11 20:10:01 +0900 |
commit | 35e046a203ee3bc8ba9ae3561b50de02646dfb81 (patch) | |
tree | 3f2c1072130164d9a7ee8f477eec96ac1d1138c6 /Makefile | |
parent | f276031b4e2f4c961ed6d8a42f0f0124ccac2e09 (diff) | |
download | linux-riscv-35e046a203ee3bc8ba9ae3561b50de02646dfb81.tar.gz linux-riscv-35e046a203ee3bc8ba9ae3561b50de02646dfb81.tar.bz2 linux-riscv-35e046a203ee3bc8ba9ae3561b50de02646dfb81.zip |
kbuild: remove unneeded variable, single-all
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1764,11 +1764,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 @: |