diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index fc498fee68ed..03905aa620cc 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
@@ -44,9 +44,9 @@ multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y))) | |||
44 | multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) | 44 | multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) |
45 | multi-objs := $(multi-objs-y) $(multi-objs-m) | 45 | multi-objs := $(multi-objs-y) $(multi-objs-m) |
46 | 46 | ||
47 | # $(subdir-obj-y) is the list of objects in $(obj-y) which do not live | 47 | # $(subdir-obj-y) is the list of objects in $(obj-y) which uses dir/ to |
48 | # in the local directory | 48 | # tell kbuild to descend |
49 | subdir-obj-y := $(foreach o,$(obj-y),$(if $(filter-out $(o),$(notdir $(o))),$(o))) | 49 | subdir-obj-y := $(filter %/built-in.o, $(obj-y)) |
50 | 50 | ||
51 | # $(obj-dirs) is a list of directories that contain object files | 51 | # $(obj-dirs) is a list of directories that contain object files |
52 | obj-dirs := $(dir $(multi-objs) $(subdir-obj-y)) | 52 | obj-dirs := $(dir $(multi-objs) $(subdir-obj-y)) |