Commit 4ca76945 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: clean up subdir-ymn calculation in Makefile.clean

Remove some variables.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 687ac1fa
...@@ -17,17 +17,8 @@ include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-di ...@@ -17,17 +17,8 @@ include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-di
# Figure out what we need to build from the various variables # Figure out what we need to build from the various variables
# ========================================================================== # ==========================================================================
__subdir-y := $(patsubst %/,%,$(filter %/, $(obj-y))) subdir-ymn := $(sort $(subdir-y) $(subdir-m) $(subdir-) \
subdir-y += $(__subdir-y) $(patsubst %/,%, $(filter %/, $(obj-y) $(obj-m) $(obj-))))
__subdir-m := $(patsubst %/,%,$(filter %/, $(obj-m)))
subdir-m += $(__subdir-m)
__subdir- := $(patsubst %/,%,$(filter %/, $(obj-)))
subdir- += $(__subdir-)
# Subdirectories we need to descend into
subdir-ym := $(sort $(subdir-y) $(subdir-m))
subdir-ymn := $(sort $(subdir-ym) $(subdir-))
# Add subdir path # Add subdir path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment